Class JarEntryAnnotationFileResource
java.lang.Object
org.checkerframework.framework.stub.JarEntryAnnotationFileResource
- All Implemented Interfaces:
 AnnotationFileResource
JarEntry-based implementation of AnnotationFileResource.- 
Constructor Summary
ConstructorsConstructorDescriptionJarEntryAnnotationFileResource(JarFile file, JarEntry entry) Constructs aAnnotationFileResourcefor the specified entry in the specified JAR file. - 
Method Summary
Modifier and TypeMethodDescriptionReturns a user-friendly description of the resource (e.g.Returns a stream for reading the contents of the resource. 
- 
Constructor Details
- 
JarEntryAnnotationFileResource
Constructs aAnnotationFileResourcefor the specified entry in the specified JAR file.- Parameters:
 file- the JAR fileentry- the JAR entry
 
 - 
 - 
Method Details
- 
getDescription
Description copied from interface:AnnotationFileResourceReturns a user-friendly description of the resource (e.g. a filesystem path).- Specified by:
 getDescriptionin interfaceAnnotationFileResource- Returns:
 - a description of the resource
 
 - 
getInputStream
Description copied from interface:AnnotationFileResourceReturns a stream for reading the contents of the resource.- Specified by:
 getInputStreamin interfaceAnnotationFileResource- Throws:
 IOException
 
 -