@Entity public class DatastoreFile extends java.lang.Object
Constructor and Description |
---|
DatastoreFile(java.lang.String pathname) |
Modifier and Type | Method and Description |
---|---|
long |
getLength() |
DatastorePath |
getPath() |
java.lang.String |
getPathname() |
int |
read(int position,
byte[] buffer,
int off,
int len) |
void |
setPath(DatastorePath path) |
void |
write(byte[] buffer,
int off,
int len) |
void |
write(int position,
byte[] buffer,
int off,
int len) |
public java.lang.String getPathname()
public long getLength() throws java.io.IOException
java.io.IOException
public void setPath(DatastorePath path)
public DatastorePath getPath()
public void write(byte[] buffer, int off, int len) throws java.io.IOException
java.io.IOException
public void write(int position, byte[] buffer, int off, int len) throws java.io.IOException
java.io.IOException
public int read(int position, byte[] buffer, int off, int len) throws java.io.IOException
java.io.IOException