org.apache.jackrabbit.standalone.cli.fs
Class ImportFileSystem
java.lang.Object
org.apache.jackrabbit.standalone.cli.fs.ImportFileSystem
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class ImportFileSystem
- extends Object
- implements org.apache.commons.chain.Command
Import data from the file system.
If the given path refers to a file it's imported to a Node
of
type nt:file under the current working Node.
If the given path refers to a folder, the given folder and all the subtree is
imported.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportFileSystem
public ImportFileSystem()
execute
public boolean execute(org.apache.commons.chain.Context ctx)
throws Exception
-
- Specified by:
execute
in interface org.apache.commons.chain.Command
- Throws:
Exception
getSrcFsPathKey
public String getSrcFsPathKey()
- Returns:
- the from key
setSrcFsPathKey
public void setSrcFsPathKey(String fromKey)
- Parameters:
fromKey
- the from key to set
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.