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