ist.palcom.base.storage
Class RandomAccessFileWrapper
java.lang.Object
ist.palcom.base.storage.RandomAccessFileWrapper
public class RandomAccessFileWrapper
- extends Object
RandomAccessFileWrapper
public RandomAccessFileWrapper(FileWrapper pfile,
int mode)
throws IOException
- Throws:
IOException
open
public int open(FileWrapper pfile,
int mode)
close
public void close()
throws IOException
- Throws:
IOException
getFilePointer
public long getFilePointer()
throws IOException
- Throws:
IOException
seek
public void seek(long pos)
throws IOException
- Throws:
IOException
read
public int read()
throws IOException
- Throws:
IOException
write
public void write(int b)
throws IOException
- Throws:
IOException
read
public int read(String file,
byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
write
public void write(String file,
byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
length
public long length()
throws IOException
- Throws:
IOException
delete
public boolean delete()