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
-
-
Constructor Summary
Constructors Constructor Description FileToInputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
String
getDestKey()
String
getSrcFsPathKey()
void
setDestKey(String destKey)
void
setSrcFsPathKey(String srcFsPathKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in interfaceorg.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)
-
-