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 booleanexecute(org.apache.commons.chain.Context ctx)StringgetDestKey()StringgetSrcFsPathKey()voidsetDestKey(String destKey)voidsetSrcFsPathKey(String srcFsPathKey) 
 - 
 
- 
- 
Method Detail
- 
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
 executein 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)
 
 - 
 
 -