com.caucho.vfs
Class DatastoreFile
java.lang.Object
com.caucho.vfs.DatastoreFile
@Entity
public class DatastoreFile
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatastoreFile
public DatastoreFile(java.lang.String pathname)
getPathname
public java.lang.String getPathname()
getLength
public long getLength()
throws java.io.IOException
- Throws:
java.io.IOException
setPath
public void setPath(DatastorePath path)
getPath
public DatastorePath getPath()
write
public void write(byte[] buffer,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int position,
byte[] buffer,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(int position,
byte[] buffer,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException