ist.palcom.base.io
Class RandomAccessFileWrapper
java.lang.Object
ist.palcom.base.io.RandomAccessFileWrapper
public class RandomAccessFileWrapper
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomAccessFileWrapper
public RandomAccessFileWrapper(FileWrapper pfile,
int mode)
throws java.io.IOException
- Throws:
java.io.IOException
open
public int open(FileWrapper pfile,
int mode)
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
getFilePointer
public long getFilePointer()
throws java.io.IOException
- Throws:
java.io.IOException
seek
public void seek(long pos)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(java.lang.String file,
byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.lang.String file,
byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
length
public long length()
throws java.io.IOException
- Throws:
java.io.IOException
delete
public boolean delete()