FileStore.Util| Modifier and Type | Field and Description |
|---|---|
protected RandomStream |
rs |
| Constructor and Description |
|---|
EveFile(RandomStream rs,
String name)
Create an EveFile opened via the specified RandomStream for read-only access.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
FileStoreEntry |
findEntry(String fullName) |
int |
getEntryCount()
If the count is known then return the number of entries, otherwise return -1.
|
FileStoreEntryFile |
getFileSystem(Handle h) |
static InputStream |
getInputStream(RandomStream s,
String name) |
FileStoreEntry |
getNewEntry(String forName) |
Enumeration |
getStoreEntries()
Get an enumeration to go through the entries in the file.
|
Hashtable |
getStoreHashtable()
Expose the hashtable of entries if available.
|
String |
getStoreName() |
InputStream |
openInputStream(FileStoreEntry entry) |
protected void |
readEntries() |
protected RandomStream rs
public EveFile(RandomStream rs, String name)
rs - the RandomStream of the open EveFile.public int getEntryCount()
FileStoregetEntryCount in interface FileStoreprotected void readEntries()
throws IOException,
CorruptedDataException
IOExceptionCorruptedDataExceptionpublic Enumeration getStoreEntries() throws IOException
FileStoregetStoreEntries in interface FileStoreIOExceptionpublic Hashtable getStoreHashtable() throws IOException
FileStoregetStoreHashtable in interface FileStoreIOExceptionpublic FileStoreEntry getNewEntry(String forName)
getNewEntry in interface FileStorepublic String getStoreName()
getStoreName in interface FileStorepublic InputStream openInputStream(FileStoreEntry entry) throws IOException
openInputStream in interface FileStoreIOExceptionpublic FileStoreEntry findEntry(String fullName)
public FileStoreEntryFile getFileSystem(Handle h)
getFileSystem in interface FileStorepublic static InputStream getInputStream(RandomStream s, String name) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface FileStoreIOException