|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.standalone.cli.xml.AbstractExportViewToFile
public abstract class AbstractExportViewToFile
Export the xml view to a file
Field Summary | |
---|---|
protected String |
desFsPathKey
target file key |
protected String |
noRecurseKey
no recurse flag key |
protected String |
overwriteKey
overwrite flag key |
protected String |
skipBinaryKey
skip binary flag key |
protected String |
srcAbsPathKey
from literal |
Constructor Summary | |
---|---|
AbstractExportViewToFile()
|
Method Summary | |
---|---|
boolean |
execute(org.apache.commons.chain.Context ctx)
|
protected abstract void |
exportView(Node node,
OutputStream out,
boolean skipBinary,
boolean noRecurse)
Export the view to the given OutputStream |
String |
getDesFsPathKey()
|
String |
getNoRecurseKey()
|
protected OutputStream |
getOutputStream(org.apache.commons.chain.Context ctx)
|
String |
getOverwriteKey()
|
String |
getSkipBinaryKey()
|
String |
getSrcAbsPathKey()
|
void |
setDesFsPathKey(String toKey)
|
void |
setNoRecurseKey(String noRecurseKey)
|
void |
setOverwriteKey(String overwriteKey)
|
void |
setSkipBinaryKey(String skipBinaryKey)
|
void |
setSrcAbsPathKey(String fromKey)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String srcAbsPathKey
protected String desFsPathKey
protected String overwriteKey
protected String skipBinaryKey
protected String noRecurseKey
Constructor Detail |
---|
public AbstractExportViewToFile()
Method Detail |
---|
protected OutputStream getOutputStream(org.apache.commons.chain.Context ctx) throws CommandException, IOException
CommandException
IOException
public String getNoRecurseKey()
public void setNoRecurseKey(String noRecurseKey)
noRecurseKey
- the no recurse key to setpublic String getOverwriteKey()
public void setOverwriteKey(String overwriteKey)
overwriteKey
- the overwrite key to setpublic String getSkipBinaryKey()
public void setSkipBinaryKey(String skipBinaryKey)
skipBinaryKey
- the skip binary key to setpublic String getSrcAbsPathKey()
public void setSrcAbsPathKey(String fromKey)
fromKey
- the from key to setpublic String getDesFsPathKey()
public void setDesFsPathKey(String toKey)
toKey
- the to key to setpublic final boolean execute(org.apache.commons.chain.Context ctx) throws Exception
execute
in interface org.apache.commons.chain.Command
Exception
protected abstract void exportView(Node node, OutputStream out, boolean skipBinary, boolean noRecurse) throws PathNotFoundException, IOException, RepositoryException
node
- the Node
out
- the OutputStream
skipBinary
- noRecurse
-
RepositoryException
IOException
PathNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |