com.caucho.vfs
Class DatastoreRandomAccessFile
java.lang.Object
com.caucho.vfs.DatastoreRandomAccessFile
public class DatastoreRandomAccessFile
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatastoreRandomAccessFile
public DatastoreRandomAccessFile(DatastoreFile file)
getLength
public long getLength()
throws java.io.IOException
- Throws:
java.io.IOException
getFilePointer
public long getFilePointer()
seek
public boolean seek(long offset)
throws java.io.IOException
- Throws:
java.io.IOException
skip
public long skip(long offset)
throws java.io.IOException
- Throws:
java.io.IOException
setPosition
public void setPosition(long position)
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(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException