public class OutputPackage
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
configuration |
static java.lang.String |
EXTENSION |
protected static SimpleLogger |
logger |
| Constructor and Description |
|---|
OutputPackage(java.io.File file,
Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.io.File |
getCurrentFile() |
protected static java.lang.String |
newPackagePath(java.lang.String canonicalPath,
int count,
int width) |
long |
write(java.lang.String outputPath,
byte[] bytes,
XQSyncDocumentMetadata metadata) |
protected static SimpleLogger logger
protected final Configuration configuration
public static final java.lang.String EXTENSION
public OutputPackage(java.io.File file,
Configuration config)
file - config - public void close()
public long write(java.lang.String outputPath,
byte[] bytes,
XQSyncDocumentMetadata metadata)
throws java.io.IOException
outputPath - bytes - metadata - java.io.IOExceptionprotected static java.lang.String newPackagePath(java.lang.String canonicalPath,
int count,
int width)
canonicalPath - count - width - public java.io.File getCurrentFile()