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 Resource
clone(java.lang.String cloneName)
Clones this resource with a new resource with a different nameprotected void
init()
java.io.InputStream
openStream()
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:
init
in classLazyResource
-
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
-
-