public class FileAnnotationFileResource extends Object implements AnnotationFileResource
File-based implementation of AnnotationFileResource.| Constructor and Description | 
|---|
FileAnnotationFileResource(File file)
Constructs a  
AnnotationFileResource for the specified annotation file (stub file or
 ajava 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 FileAnnotationFileResource(File file)
AnnotationFileResource for the specified annotation file (stub file or
 ajava file).file - the annotation filepublic String getDescription()
AnnotationFileResourcegetDescription in interface AnnotationFileResourcepublic InputStream getInputStream() throws IOException
AnnotationFileResourcegetInputStream in interface AnnotationFileResourceIOException