public class InputPackage
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowEmptyMetadata |
protected Configuration |
configuration |
protected java.io.File |
inputFile |
protected java.util.zip.ZipFile |
inputZip |
protected SimpleLogger |
logger |
protected static int |
MAX_ENTRIES |
protected java.lang.String |
packagePath |
protected java.lang.Object |
referenceMutex |
protected int |
references |
| Constructor and Description |
|---|
InputPackage(java.lang.String path,
Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
addReference() |
void |
closeReference() |
byte[] |
getContent(java.lang.String path) |
XQSyncDocumentMetadata |
getMetadataEntry(java.lang.String path) |
java.lang.String |
getPath() |
java.util.List<java.lang.String> |
list() |
int |
size() |
protected SimpleLogger logger
protected Configuration configuration
protected static final int MAX_ENTRIES
protected java.lang.String packagePath
protected java.util.zip.ZipFile inputZip
protected final java.io.File inputFile
protected volatile int references
protected boolean allowEmptyMetadata
protected final java.lang.Object referenceMutex
public InputPackage(java.lang.String path,
Configuration config)
throws java.io.IOException
path - config - java.io.IOExceptionpublic java.lang.String getPath()
public XQSyncDocumentMetadata getMetadataEntry(java.lang.String path) throws java.io.IOException
path - java.io.IOExceptionpublic byte[] getContent(java.lang.String path)
throws java.io.IOException
path - java.io.IOExceptionpublic java.util.List<java.lang.String> list()
throws java.io.IOException
java.io.IOExceptionpublic void addReference()
public void closeReference()
public int size()