Package ucar.unidata.io.zarr
Interface RandomAccessDirectoryItem
-
- All Known Implementing Classes:
VirtualRandomAccessFile
public interface RandomAccessDirectoryItem
Interface for items held by a RandomAccessDirectory Provides a wrapper for a RandomAccessFile
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getLastModified()
String
getLocation()
RandomAccessFile
getOrOpenRaf()
RandomAccessFile
getRaf()
long
length()
long
startIndex()
-
-
-
Method Detail
-
getLocation
String getLocation()
- Returns:
- location of directory item
-
startIndex
long startIndex()
- Returns:
- start index of item relative to directory
-
length
long length()
- Returns:
- size of directory item
-
getLastModified
long getLastModified()
- Returns:
- last modified time (in ms) of directory item
-
getRaf
RandomAccessFile getRaf()
- Returns:
- RandomAccessFile for directory item or null if unopened
-
getOrOpenRaf
RandomAccessFile getOrOpenRaf() throws IOException
- Returns:
- RandomAccessFile for directory item
- Throws:
IOException
-
-