RandomAccessFileOutputStreampublic final class RandomAccessFileOutputStream extends OutputStream Wraps a {@link RandomAccessFile} into an {@link OutputStream}.
|
Fields Summary |
---|
private final RandomAccessFile | targetFilethe file to write to. |
Constructors Summary |
---|
public RandomAccessFileOutputStream(RandomAccessFile target)Creates an instance.
super();
this.targetFile = target;
|
Methods Summary |
---|
public void | write(byte[] bytes, int off, int len){@inheritDoc}
this.targetFile.write(bytes, off, len);
| public void | write(int toWrite){@inheritDoc}
this.targetFile.write(toWrite);
|
|