Class ArchiveFileV3
java.lang.Object
org.eclipse.birt.core.archive.compound.ArchiveFileV3
- All Implemented Interfaces:
IArchiveFile
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.birt.core.archive.compound.v3.Ext2FileSystemprotected HashSet<ArchiveEntryV3>static final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionArchiveFileV3(String fileName, RandomAccessFile rf, String mode) ArchiveFileV3(String fileName, String mode) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidcloseEntry(ArchiveEntryV3 entry) createEntry(String name) booleanvoidflush()longgetName()longlistEntries(String namePattern) protected voidopenEntry(ArchiveEntryV3 entry) voidrefresh()booleanremoveEntry(String name) voidsave()voidsetCacheSize(long cacheSize) voidsetDependId(String id) voidsetSystemId(String id) voidunlockEntry(Object locker)
-
Field Details
-
PROPERTY_SYSTEM_ID
- See Also:
-
PROPERTY_DEPEND_ID
- See Also:
-
fs
protected org.eclipse.birt.core.archive.compound.v3.Ext2FileSystem fs -
openedEntries
-
-
Constructor Details
-
ArchiveFileV3
- Throws:
IOException
-
ArchiveFileV3
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
closein interfaceIArchiveFile- Throws:
IOException
-
setSystemId
-
setDependId
-
createEntry
- Specified by:
createEntryin interfaceIArchiveFile- Throws:
IOException
-
exists
- Specified by:
existsin interfaceIArchiveFile
-
flush
- Specified by:
flushin interfaceIArchiveFile- Throws:
IOException
-
getDependId
- Specified by:
getDependIdin interfaceIArchiveFile
-
openEntry
- Specified by:
openEntryin interfaceIArchiveFile- Throws:
IOException
-
getName
- Specified by:
getNamein interfaceIArchiveFile
-
getSystemId
- Specified by:
getSystemIdin interfaceIArchiveFile
-
getUsedCache
public long getUsedCache()- Specified by:
getUsedCachein interfaceIArchiveFile
-
listEntries
- Specified by:
listEntriesin interfaceIArchiveFile
-
lockEntry
- Specified by:
lockEntryin interfaceIArchiveFile- Throws:
IOException
-
refresh
- Specified by:
refreshin interfaceIArchiveFile- Throws:
IOException
-
removeEntry
- Specified by:
removeEntryin interfaceIArchiveFile- Throws:
IOException
-
save
- Specified by:
savein interfaceIArchiveFile- Throws:
IOException
-
setCacheSize
public void setCacheSize(long cacheSize) - Specified by:
setCacheSizein interfaceIArchiveFile
-
getLength
public long getLength()- Specified by:
getLengthin interfaceIArchiveFile
-
unlockEntry
- Specified by:
unlockEntryin interfaceIArchiveFile- Throws:
IOException
-
openEntry
-
closeEntry
-