public class JarEntryStubResource extends Object implements StubResource
JarEntry-based implementation of StubResource.| Constructor and Description | 
|---|
JarEntryStubResource(JarFile file,
                    JarEntry entry)
Constructs a  
StubResource for the specified entry in the specified JAR file. | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDescription()
Returns a user-friendly description of the resource (e.g. 
 | 
InputStream | 
getInputStream()
Returns a stream for reading the contents of the resource. 
 | 
public String getDescription()
StubResourcegetDescription in interface StubResourcepublic InputStream getInputStream() throws IOException
StubResourcegetInputStream in interface StubResourceIOException