public class FolderArchiveFile extends java.lang.Object implements IArchiveFile
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
dependId |
protected java.lang.String |
fileName |
protected java.lang.String |
folderName |
static java.lang.String |
METEDATA |
protected java.util.Map |
properties |
protected java.lang.String |
systemId |
Constructor and Description |
---|
FolderArchiveFile(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ArchiveEntry |
createEntry(java.lang.String name) |
boolean |
exists(java.lang.String name) |
void |
flush() |
java.lang.String |
getDependId() |
java.lang.String |
getName() |
java.lang.String |
getSystemId() |
long |
getUsedCache() |
java.util.List<java.lang.String> |
listEntries(java.lang.String namePattern) |
java.lang.Object |
lockEntry(java.lang.String entry) |
ArchiveEntry |
openEntry(java.lang.String name) |
void |
refresh() |
boolean |
removeEntry(java.lang.String name) |
void |
save() |
void |
setCacheSize(long cacheSize) |
void |
setDependId(java.lang.String dependId) |
void |
setSystemId(java.lang.String systemId) |
void |
unlockEntry(java.lang.Object locker) |
public static final java.lang.String METEDATA
protected java.lang.String folderName
protected java.lang.String systemId
protected java.lang.String dependId
protected java.lang.String fileName
protected java.util.Map properties
public FolderArchiveFile(java.lang.String name) throws java.io.IOException
java.io.IOException
public java.lang.String getName()
getName
in interface IArchiveFile
public void close() throws java.io.IOException
close
in interface IArchiveFile
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface IArchiveFile
java.io.IOException
public void refresh() throws java.io.IOException
refresh
in interface IArchiveFile
java.io.IOException
public boolean exists(java.lang.String name)
exists
in interface IArchiveFile
public void setCacheSize(long cacheSize)
setCacheSize
in interface IArchiveFile
public long getUsedCache()
getUsedCache
in interface IArchiveFile
public ArchiveEntry openEntry(java.lang.String name) throws java.io.IOException
openEntry
in interface IArchiveFile
java.io.IOException
public java.util.List<java.lang.String> listEntries(java.lang.String namePattern)
listEntries
in interface IArchiveFile
public ArchiveEntry createEntry(java.lang.String name) throws java.io.IOException
createEntry
in interface IArchiveFile
java.io.IOException
public boolean removeEntry(java.lang.String name) throws java.io.IOException
removeEntry
in interface IArchiveFile
java.io.IOException
public java.lang.Object lockEntry(java.lang.String entry) throws java.io.IOException
lockEntry
in interface IArchiveFile
java.io.IOException
public void unlockEntry(java.lang.Object locker) throws java.io.IOException
unlockEntry
in interface IArchiveFile
java.io.IOException
public java.lang.String getSystemId()
getSystemId
in interface IArchiveFile
public java.lang.String getDependId()
getDependId
in interface IArchiveFile
public void setSystemId(java.lang.String systemId)
public void setDependId(java.lang.String dependId)
public void save() throws java.io.IOException
save
in interface IArchiveFile
java.io.IOException
Copyright © 2014 OpenText Corp. All rights reserved.