org.apache.jackrabbit.standalone.cli.fs
Class FileToInputStream
java.lang.Object
org.apache.jackrabbit.standalone.cli.fs.FileToInputStream
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class FileToInputStream
- extends Object
- implements org.apache.commons.chain.Command
Puts an java.io.InputStream in the context from an Fs path
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileToInputStream
public FileToInputStream()
execute
public boolean execute(org.apache.commons.chain.Context ctx)
throws Exception
-
- Specified by:
execute
in interface org.apache.commons.chain.Command
- Throws:
Exception
getDestKey
public String getDestKey()
setDestKey
public void setDestKey(String destKey)
getSrcFsPathKey
public String getSrcFsPathKey()
setSrcFsPathKey
public void setSrcFsPathKey(String srcFsPathKey)
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.