Package org.opengrok.indexer.history
Class ClearCaseAnnotationParser
java.lang.Object
org.opengrok.indexer.history.ClearCaseAnnotationParser
- All Implemented Interfaces:
 Executor.StreamHandler
handles parsing the output of the 
cleartool annotate
 command into an annotation object.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns the annotation that has been created.voidprocessStream(InputStream input) Process the data in the stream. 
- 
Constructor Details
- 
ClearCaseAnnotationParser
- Parameters:
 fileName- the name of the file being annotated
 
 - 
 - 
Method Details
- 
getAnnotation
Returns the annotation that has been created.- Returns:
 - annotation an annotation object
 
 - 
processStream
Description copied from interface:Executor.StreamHandlerProcess the data in the stream. The processStream function is called _once_ during the lifetime of the process, and you should process all of the input you want before returning from the function.- Specified by:
 processStreamin interfaceExecutor.StreamHandler- Parameters:
 input- The InputStream containing the data- Throws:
 IOException- if any read error
 
 -