Class 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 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)