|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.exporter.AVMZipExporterServiceImpl
public class AVMZipExporterServiceImpl
Exporter which allows the saving of part of an AVM filesystem to a Zip file.
Constructor Summary | |
---|---|
AVMZipExporterServiceImpl()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AVMZipExporterServiceImpl()
Method Detail |
---|
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 AVMZipExporterService
output
- The File to store the Zip inpath
- The AVM path to exportversion
- The AVM version IOrecurse
- Should the export recurse into directories?
java.io.IOException
java.util.zip.ZipException
public 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 AVMZipExporterService
output
- The File to store the Zip inpath
- The AVM path to exportversion
- The AVM version IOrecurse
- Should the export recurse into directories?
java.io.IOException
java.util.zip.ZipException
public void export(org.apache.tools.zip.ZipOutputStream out, AVMNodeDescriptor node, boolean recurse) throws java.io.IOException, java.util.zip.ZipException
export
in interface AVMZipExporterService
output
- The File to store the Zip innode
- The AVM node to exportrecurse
- Should the export recurse into directories?
java.io.IOException
java.util.zip.ZipException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |