public class ExportRoot
extends java.lang.Object
root
|-- META-INF
| `-- vault
| |-- config.xml
| |-- filter.xml
| |-- nodetypes.cnd
| `-- properties.xml
`-- jcr_root
:
| Constructor and Description |
|---|
ExportRoot(java.io.File rootDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertValid() |
void |
create()
Creates the necessary directories if they do not exist yet.
|
static ExportRoot |
findRoot(java.io.File cwd) |
java.io.File |
getJcrRoot() |
java.io.File |
getMetaDir() |
MetaInf |
getMetaInf()
Returns the meta information.
|
java.io.File |
getRoot() |
boolean |
isValid()
Checks if this export root already has the necessary structure setup.
|
public boolean isValid()
true if valid.public void assertValid()
throws java.io.IOException
java.io.IOExceptionpublic void create()
throws java.io.IOException
java.io.IOException - if an I/O error occurspublic MetaInf getMetaInf()
public java.io.File getRoot()
public java.io.File getJcrRoot()
public java.io.File getMetaDir()
public static ExportRoot findRoot(java.io.File cwd)
Copyright © 2010 - 2023 Adobe. All Rights Reserved