Class VsftpResource
- java.lang.Object
-
- org.apache.ivy.plugins.repository.LazyResource
-
- org.apache.ivy.plugins.repository.vsftp.VsftpResource
-
- All Implemented Interfaces:
Resource
public class VsftpResource extends LazyResource
-
-
Constructor Summary
Constructors Constructor Description VsftpResource(VsftpRepository repository, java.lang.String file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resourceclone(java.lang.String cloneName)Clones this resource with a new resource with a different nameprotected voidinit()java.io.InputStreamopenStream()Opens a stream on this resource-
Methods inherited from class org.apache.ivy.plugins.repository.LazyResource
exists, getContentLength, getLastModified, getName, init, isLocal, setContentLength, setExists, setLastModified, setLocal, toString
-
-
-
-
Constructor Detail
-
VsftpResource
public VsftpResource(VsftpRepository repository, java.lang.String file)
-
-
Method Detail
-
init
protected void init()
- Specified by:
initin classLazyResource
-
openStream
public java.io.InputStream openStream() throws java.io.IOExceptionDescription copied from interface:ResourceOpens a stream on this resource- Returns:
- the opened input stream
- Throws:
java.io.IOException- if something goes wrong
-
-