org.eclipse.birt.core.archive.compound
Class ArchiveFileV3
java.lang.Object
org.eclipse.birt.core.archive.compound.ArchiveFileV3
- All Implemented Interfaces:
- IArchiveFile
public class ArchiveFileV3
- extends java.lang.Object
- implements IArchiveFile
|
Constructor Summary |
ArchiveFileV3(java.lang.String fileName,
java.io.RandomAccessFile rf,
java.lang.String mode)
|
ArchiveFileV3(java.lang.String fileName,
java.lang.String mode)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_SYSTEM_ID
public static final java.lang.String PROPERTY_SYSTEM_ID
- See Also:
- Constant Field Values
PROPERTY_DEPEND_ID
public static final java.lang.String PROPERTY_DEPEND_ID
- See Also:
- Constant Field Values
fs
protected org.eclipse.birt.core.archive.compound.v3.Ext2FileSystem fs
openedEntries
protected java.util.HashSet<ArchiveEntryV3> openedEntries
ArchiveFileV3
public ArchiveFileV3(java.lang.String fileName,
java.lang.String mode)
throws java.io.IOException
- Throws:
java.io.IOException
ArchiveFileV3
public ArchiveFileV3(java.lang.String fileName,
java.io.RandomAccessFile rf,
java.lang.String mode)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in interface IArchiveFile
- Throws:
java.io.IOException
setSystemId
public void setSystemId(java.lang.String id)
setDependId
public void setDependId(java.lang.String id)
createEntry
public ArchiveEntry createEntry(java.lang.String name)
throws java.io.IOException
- Specified by:
createEntry in interface IArchiveFile
- Throws:
java.io.IOException
exists
public boolean exists(java.lang.String name)
- Specified by:
exists in interface IArchiveFile
flush
public void flush()
throws java.io.IOException
- Specified by:
flush in interface IArchiveFile
- Throws:
java.io.IOException
getDependId
public java.lang.String getDependId()
- Specified by:
getDependId in interface IArchiveFile
openEntry
public ArchiveEntry openEntry(java.lang.String name)
throws java.io.IOException
- Specified by:
openEntry in interface IArchiveFile
- Throws:
java.io.IOException
getName
public java.lang.String getName()
- Specified by:
getName in interface IArchiveFile
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemId in interface IArchiveFile
getUsedCache
public long getUsedCache()
- Specified by:
getUsedCache in interface IArchiveFile
listEntries
public java.util.List listEntries(java.lang.String namePattern)
- Specified by:
listEntries in interface IArchiveFile
lockEntry
public java.lang.Object lockEntry(java.lang.String name)
throws java.io.IOException
- Specified by:
lockEntry in interface IArchiveFile
- Throws:
java.io.IOException
refresh
public void refresh()
throws java.io.IOException
- Specified by:
refresh in interface IArchiveFile
- Throws:
java.io.IOException
removeEntry
public boolean removeEntry(java.lang.String name)
throws java.io.IOException
- Specified by:
removeEntry in interface IArchiveFile
- Throws:
java.io.IOException
save
public void save()
throws java.io.IOException
- Specified by:
save in interface IArchiveFile
- Throws:
java.io.IOException
setCacheSize
public void setCacheSize(long cacheSize)
- Specified by:
setCacheSize in interface IArchiveFile
unlockEntry
public void unlockEntry(java.lang.Object locker)
throws java.io.IOException
- Specified by:
unlockEntry in interface IArchiveFile
- Throws:
java.io.IOException
openEntry
protected void openEntry(ArchiveEntryV3 entry)
closeEntry
protected void closeEntry(ArchiveEntryV3 entry)
Copyright © 2008 Actuate Corp. All rights reserved.