public class JarEntryAnnotationFileResource extends Object implements AnnotationFileResource
JarEntry
-based implementation of AnnotationFileResource
.Constructor and Description |
---|
JarEntryAnnotationFileResource(JarFile file,
JarEntry entry)
Constructs a
AnnotationFileResource 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()
AnnotationFileResource
getDescription
in interface AnnotationFileResource
public InputStream getInputStream() throws IOException
AnnotationFileResource
getInputStream
in interface AnnotationFileResource
IOException