org.apache.jackrabbit.standalone.cli.fs
Class FileToInputStream

java.lang.Object
  extended by 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
FileToInputStream()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getDestKey()
           
 String getSrcFsPathKey()
           
 void setDestKey(String destKey)
           
 void setSrcFsPathKey(String srcFsPathKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileToInputStream

public FileToInputStream()
Method Detail

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.