public class ExportRoot extends Object
root |-- META-INF | `-- vault | |-- config.xml | |-- filter.xml | |-- nodetypes.cnd | `-- properties.xml `-- jcr_root :
Constructor and Description |
---|
ExportRoot(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(File cwd) |
File |
getJcrRoot() |
File |
getMetaDir() |
MetaInf |
getMetaInf()
Returns the meta information.
|
File |
getRoot() |
boolean |
isValid()
Checks if this export root already has the necessary structure setup.
|
public ExportRoot(File rootDir)
public boolean isValid()
true
if valid.public void assertValid() throws IOException
IOException
public void create() throws IOException
IOException
- if an I/O error occurspublic MetaInf getMetaInf()
public File getRoot()
public File getJcrRoot()
public File getMetaDir()
public static ExportRoot findRoot(File cwd)
Copyright © 2010 - 2020 Adobe. All Rights Reserved