public class ExportRoot extends Object
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 © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"