package yuku.alkitabconverter.yes1; import java.io.*; public class RandomOutputStream extends OutputStream { private RandomAccessFile f; public RandomOutputStream(RandomAccessFile f) { this.f = f; } @Override public void write(int b) throws IOException { f.write(b); } @Override public void write(byte[] buffer) throws IOException { f.write(buffer); } @Override public void write(byte[] buffer, int offset, int count) throws IOException { f.write(buffer, offset, count); } }