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.Ext2FileSystem
protected HashSet<ArchiveEntryV3>
static final String
static final String
-
Constructor Summary
ConstructorsConstructorDescriptionArchiveFileV3
(String fileName, RandomAccessFile rf, String mode) ArchiveFileV3
(String fileName, String mode) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
closeEntry
(ArchiveEntryV3 entry) createEntry
(String name) boolean
void
flush()
long
getName()
long
listEntries
(String namePattern) protected void
openEntry
(ArchiveEntryV3 entry) void
refresh()
boolean
removeEntry
(String name) void
save()
void
setCacheSize
(long cacheSize) void
setDependId
(String id) void
setSystemId
(String id) void
unlockEntry
(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:
close
in interfaceIArchiveFile
- Throws:
IOException
-
setSystemId
-
setDependId
-
createEntry
- Specified by:
createEntry
in interfaceIArchiveFile
- Throws:
IOException
-
exists
- Specified by:
exists
in interfaceIArchiveFile
-
flush
- Specified by:
flush
in interfaceIArchiveFile
- Throws:
IOException
-
getDependId
- Specified by:
getDependId
in interfaceIArchiveFile
-
openEntry
- Specified by:
openEntry
in interfaceIArchiveFile
- Throws:
IOException
-
getName
- Specified by:
getName
in interfaceIArchiveFile
-
getSystemId
- Specified by:
getSystemId
in interfaceIArchiveFile
-
getUsedCache
public long getUsedCache()- Specified by:
getUsedCache
in interfaceIArchiveFile
-
listEntries
- Specified by:
listEntries
in interfaceIArchiveFile
-
lockEntry
- Specified by:
lockEntry
in interfaceIArchiveFile
- Throws:
IOException
-
refresh
- Specified by:
refresh
in interfaceIArchiveFile
- Throws:
IOException
-
removeEntry
- Specified by:
removeEntry
in interfaceIArchiveFile
- Throws:
IOException
-
save
- Specified by:
save
in interfaceIArchiveFile
- Throws:
IOException
-
setCacheSize
public void setCacheSize(long cacheSize) - Specified by:
setCacheSize
in interfaceIArchiveFile
-
getLength
public long getLength()- Specified by:
getLength
in interfaceIArchiveFile
-
unlockEntry
- Specified by:
unlockEntry
in interfaceIArchiveFile
- Throws:
IOException
-
openEntry
-
closeEntry
-