Interface AnnotationFileResource
-
- All Known Implementing Classes:
FileAnnotationFileResource
,JarEntryAnnotationFileResource
public interface AnnotationFileResource
Interface for sources of stub data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns a user-friendly description of the resource (e.g.java.io.InputStream
getInputStream()
Returns a stream for reading the contents of the resource.
-
-
-
Method Detail
-
getDescription
java.lang.String getDescription()
Returns a user-friendly description of the resource (e.g. a filesystem path).- Returns:
- a description of the resource
-
getInputStream
java.io.InputStream getInputStream() throws java.io.IOException
Returns a stream for reading the contents of the resource.- Throws:
java.io.IOException
-
-