org.filteredpush.annotationprocessor
Interface AnnotationParser

All Known Implementing Classes:
AnnotationParserSparqlImpl

public interface AnnotationParser

Interface of the annotation parser.

Author:
Lei Dou $Id: AnnotationParser.java 1752 2012-12-11 15:57:30Z ramorrismorris $

Method Summary
 Annotation parse(java.io.InputStream annotationFileStream)
          Parse the annotation in specified input stream.
 Annotation parse(java.lang.String annotationFile)
          Parse the annotation in specified file.
 

Method Detail

parse

Annotation parse(java.lang.String annotationFile)
Parse the annotation in specified file.

Parameters:
annotationFile - The full path to the annotation file needs to be parsed.
Returns:
The annotation object constructed with the information from the specified file.

parse

Annotation parse(java.io.InputStream annotationFileStream)
Parse the annotation in specified input stream.

Parameters:
annotationFileStream - The input stream of the annotation.
Returns:
The annotation object constructed with the information from the specified input stream.