public class JcrExporter extends AbstractExporter
PlatformNameFormat for formatting the jcr file
names to local ones.| Constructor and Description |
|---|
JcrExporter(Node localFile)
Constructs a new jcr exporter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the exporter and releases the undelying structures.
|
void |
createDirectory(java.lang.String relPath) |
void |
createDirectory(VaultFile file,
java.lang.String relPath) |
boolean |
isAutoDeleteFiles() |
void |
open()
Opens the exporter and initializes the undelying structures.
|
void |
setAutoDeleteFiles(boolean autoDeleteFiles) |
void |
writeFile(java.io.InputStream in,
java.lang.String relPath) |
void |
writeFile(VaultFile file,
java.lang.String relPath) |
export, export, export, getExportInfo, getRootPath, isNoMetaInf, isRelativePaths, isVerbose, setNoMetaInf, setProperties, setProperty, setProperty, setRelativePaths, setRootPath, setVerbosepublic JcrExporter(Node localFile)
localFile - the local parent folderpublic boolean isAutoDeleteFiles()
public void setAutoDeleteFiles(boolean autoDeleteFiles)
public void open()
throws java.io.IOException,
RepositoryException
open in class AbstractExporterjava.io.IOException - if an I/O error occursRepositoryException - if a repository error occurspublic void close()
throws java.io.IOException,
RepositoryException
close in class AbstractExporterjava.io.IOException - if an I/O error occursRepositoryException - if a repository error occurspublic void createDirectory(VaultFile file, java.lang.String relPath) throws RepositoryException, java.io.IOException
createDirectory in class AbstractExporterRepositoryExceptionjava.io.IOExceptionpublic void createDirectory(java.lang.String relPath)
throws java.io.IOException
createDirectory in class AbstractExporterjava.io.IOExceptionpublic void writeFile(VaultFile file, java.lang.String relPath) throws RepositoryException, java.io.IOException
writeFile in class AbstractExporterRepositoryExceptionjava.io.IOExceptionpublic void writeFile(java.io.InputStream in,
java.lang.String relPath)
throws java.io.IOException
writeFile in class AbstractExporterjava.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved