public class MyRandomAccessFile extends IInStream
STREAM_SEEK_CUR, STREAM_SEEK_SET| Constructor and Description |
|---|
MyRandomAccessFile(java.lang.String filename,
java.lang.String mode) |
public MyRandomAccessFile(java.lang.String filename,
java.lang.String mode)
throws java.io.IOException
java.io.IOExceptionpublic long Seek(long offset,
int seekOrigin)
throws java.io.IOException
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] data,
int off,
int size)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] data,
int size)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException