Class Overview
The implementation of PluginArtifact that is backed by a jar file.
Public Constructors
public
JarPluginArtifact
(File jarFile)
Public Methods
public
boolean
doesResourceExist
(String name)
public
InputStream
getInputStream
()
Returns
- a buffered file input stream of the file on disk. This input stream
is not resettable.
public
InputStream
getResourceAsStream
(String fileName)
Returns
- an input stream for the this file in the jar. Closing this stream also closes the jar file this stream comes from.