| java.lang.Object uk.org.ponder.streamutil.RandomAccessReadWrapper uk.org.ponder.streamutil.RandomAccessWriteWrapper
RandomAccessWriteWrapper | public class RandomAccessWriteWrapper extends RandomAccessReadWrapper implements RandomAccessWrite(Code) | | This class wraps a java.io.RandomAccessFile object so that it
conforms to the RandomAccessWrite interface.
|
Method Summary | |
public void | write(int b) | public void | write(byte b, int off, int len) |
RandomAccessWriteWrapper | public RandomAccessWriteWrapper(RandomAccessFile internalraf)(Code) | | Constructs a RandomAccessWriteWrapper wrapping the supplied RandomAccessFile.
Parameters: internalraf - The RandomAccessFile to be wrapped. |
RandomAccessWriteWrapper | public RandomAccessWriteWrapper(File file) throws IOException(Code) | | Constructs a RandomAccessFile from the supplied File object, and then
wraps it with a RandomAccessWriteWrapper.
Parameters: file - A file to be opened as a RandomAccessFile and wrapped. |
RandomAccessWriteWrapper | public RandomAccessWriteWrapper(String filename) throws IOException(Code) | | Constructs a RandomAccessFile for the specified filename, and then
wraps it with a RandomAccessWriteWrapper.
Parameters: filename - A file to be opened as a RandomAccessFile and wrapped. |
|
|