net.sf.jnati.deploy.source
Class JarSource
java.lang.Object
net.sf.jnati.deploy.source.ArtefactSource
net.sf.jnati.deploy.source.JarSource
- Direct Known Subclasses:
- TempJarSource
public class JarSource
- extends ArtefactSource
- Author:
- Sam Adams
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarSource
public JarSource(JarFile jar,
Artefact artefact)
JarSource
public JarSource(File file,
Artefact artefact)
throws IOException
- Throws:
IOException
openFile
public InputStream openFile(String path)
throws IOException
- Specified by:
openFile in class ArtefactSource
- Throws:
IOException
containsFile
public boolean containsFile(String path)
throws IOException
- Specified by:
containsFile in class ArtefactSource
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in class ArtefactSource
- Throws:
IOException
isLocal
public boolean isLocal()
- Specified by:
isLocal in class ArtefactSource
getPath
public File getPath()
- Specified by:
getPath in class ArtefactSource
Copyright © 2007-2011 Sam Adams. All Rights Reserved.