public class AVMZipExporterServiceImpl extends java.lang.Object implements AVMZipExporterService
| Constructor and Description |
|---|
AVMZipExporterServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(java.io.File output,
int version,
java.lang.String path,
boolean recurse)
Exports the given path and version as a zip file, stored
in the specified file.
|
void |
export(org.apache.tools.zip.ZipOutputStream out,
AVMNodeDescriptor node,
boolean recurse)
Exports the given AVM node into an already open
Zip file.
|
void |
export(org.apache.tools.zip.ZipOutputStream out,
int version,
java.lang.String path,
boolean recurse)
Exports the given path and version into an already open
Zip file.
|
void |
setAvmService(AVMService avmService)
Sets the AVM Service to be used for exporting from
|
public void setAvmService(AVMService avmService)
avmService - The AVM Servicepublic void export(java.io.File output,
int version,
java.lang.String path,
boolean recurse)
throws java.io.IOException,
java.util.zip.ZipException
export in interface AVMZipExporterServiceoutput - The File to store the Zip inpath - The AVM path to exportversion - The AVM version IOrecurse - Should the export recurse into directories?java.io.IOExceptionjava.util.zip.ZipExceptionpublic void export(org.apache.tools.zip.ZipOutputStream out,
int version,
java.lang.String path,
boolean recurse)
throws java.io.IOException,
java.util.zip.ZipException
export in interface AVMZipExporterServiceoutput - The File to store the Zip inpath - The AVM path to exportversion - The AVM version IOrecurse - Should the export recurse into directories?java.io.IOExceptionjava.util.zip.ZipExceptionpublic void export(org.apache.tools.zip.ZipOutputStream out,
AVMNodeDescriptor node,
boolean recurse)
throws java.io.IOException,
java.util.zip.ZipException
export in interface AVMZipExporterServiceoutput - The File to store the Zip innode - The AVM node to exportrecurse - Should the export recurse into directories?java.io.IOExceptionjava.util.zip.ZipExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.