Package net.sf.jnati.deploy.source
Class UrlSource
- java.lang.Object
-
- net.sf.jnati.deploy.source.ArtefactSource
-
- net.sf.jnati.deploy.source.UrlSource
-
public class UrlSource extends ArtefactSource
- Author:
- Sam Adams
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
containsFile(java.lang.String path)
java.io.File
getPath()
boolean
isLocal()
java.io.InputStream
openFile(java.lang.String path)
-
Methods inherited from class net.sf.jnati.deploy.source.ArtefactSource
loadManifest
-
-
-
-
Constructor Detail
-
UrlSource
public UrlSource(java.net.URL url, Artefact artefact, java.lang.String artefactPath)
-
-
Method Detail
-
openFile
public java.io.InputStream openFile(java.lang.String path) throws java.io.IOException
- Specified by:
openFile
in classArtefactSource
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in classArtefactSource
- Throws:
java.io.IOException
-
containsFile
public boolean containsFile(java.lang.String path) throws java.io.IOException
- Specified by:
containsFile
in classArtefactSource
- Throws:
java.io.IOException
-
isLocal
public boolean isLocal()
- Specified by:
isLocal
in classArtefactSource
-
getPath
public java.io.File getPath()
- Specified by:
getPath
in classArtefactSource
-
-