public class VirtualRandomAccessFile extends java.lang.Object implements RandomAccessDirectoryItem
Constructor and Description |
---|
VirtualRandomAccessFile(java.lang.String location,
long startIndex,
long length,
long lastModified,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
long |
getLastModified() |
java.lang.String |
getLocation() |
RandomAccessFile |
getOrOpenRaf() |
RandomAccessFile |
getRaf() |
long |
length() |
long |
startIndex() |
public VirtualRandomAccessFile(java.lang.String location, long startIndex, long length, long lastModified, int bufferSize)
public java.lang.String getLocation()
getLocation
in interface RandomAccessDirectoryItem
public long startIndex()
startIndex
in interface RandomAccessDirectoryItem
public long length()
length
in interface RandomAccessDirectoryItem
public long getLastModified()
getLastModified
in interface RandomAccessDirectoryItem
public RandomAccessFile getRaf()
getRaf
in interface RandomAccessDirectoryItem
public RandomAccessFile getOrOpenRaf() throws java.io.IOException
getOrOpenRaf
in interface RandomAccessDirectoryItem
java.io.IOException