Class ExportRoot
java.lang.Object
org.apache.jackrabbit.vault.fs.config.ExportRoot
Represents the root of a vault export or a vlt checkout. it has the following
structure:
root
|-- META-INF
| `-- vault
| |-- config.xml
| |-- filter.xml
| |-- nodetypes.cnd
| `-- properties.xml
`-- jcr_root
:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcreate()Creates the necessary directories if they do not exist yet.static ExportRootReturns the meta information.getRoot()booleanisValid()Checks if this export root already has the necessary structure setup.
-
Constructor Details
-
ExportRoot
-
-
Method Details
-
isValid
public boolean isValid()Checks if this export root already has the necessary structure setup.- Returns:
trueif valid.
-
assertValid
- Throws:
IOException
-
create
Creates the necessary directories if they do not exist yet.- Throws:
IOException- if an I/O error occurs
-
getMetaInf
Returns the meta information.- Returns:
- the meta information.
-
getRoot
-
getJcrRoot
-
getMetaDir
-
findRoot
-