Class FileAnnotationFileResource
java.lang.Object
org.checkerframework.framework.stub.FileAnnotationFileResource
- All Implemented Interfaces:
- AnnotationFileResource
File-based implementation of AnnotationFileResource.- 
Constructor SummaryConstructorsConstructorDescriptionConstructs aAnnotationFileResourcefor the specified annotation file (stub file or ajava 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- 
FileAnnotationFileResourceConstructs aAnnotationFileResourcefor the specified annotation file (stub file or ajava file).- Parameters:
- file- the annotation file
 
 
- 
- 
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
 
 
-