Class VsftpResource

    • Constructor Detail

      • VsftpResource

        public VsftpResource​(VsftpRepository repository,
                             java.lang.String file)
    • Method Detail

      • openStream

        public java.io.InputStream openStream()
                                       throws java.io.IOException
        Description copied from interface: Resource
        Opens a stream on this resource
        Returns:
        the opened input stream
        Throws:
        java.io.IOException - if something goes wrong
      • clone

        public Resource clone​(java.lang.String cloneName)
        Description copied from interface: Resource
        Clones this resource with a new resource with a different name
        Parameters:
        cloneName - the name of the clone
        Returns:
        the cloned resource