| java.lang.Object |
| ↳ |
com.atlassian.plugin.JarPluginArtifact |
Class Overview
The implementation of PluginArtifact that is backed by a jar file.
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.plugin.PluginArtifact
|
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.
public
String
toString
()