org.apache.maven.clearcaselib
Class ClearcaseChangeLogParser

java.lang.Object
  extended byorg.apache.maven.clearcaselib.ClearcaseChangeLogParser
All Implemented Interfaces:
ChangeLogParser

public class ClearcaseChangeLogParser
extends Object
implements ChangeLogParser

Clearcase specific implementation of ChangeLogParser interface.

Author:
Simone Zorzetti

Constructor Summary
ClearcaseChangeLogParser()
          Create a new ChangeLogParser.
 
Method Summary
 void cleanup()
          Clean up any parser resources
 void init(ChangeLog changeLog)
          initialize the parser from the change log
 Collection parse(InputStream anInputStream)
          Parse the input stream into a collection.
 void setDateFormatInFile(String dateFormat)
          Set the date formatter for parse starteam stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearcaseChangeLogParser

public ClearcaseChangeLogParser()
Create a new ChangeLogParser.

Method Detail

init

public void init(ChangeLog changeLog)
initialize the parser from the change log

Specified by:
init in interface ChangeLogParser
Parameters:
changeLog - the controlling task
See Also:
ChangeLogParser.init(ChangeLog)

cleanup

public void cleanup()
Clean up any parser resources

Specified by:
cleanup in interface ChangeLogParser
See Also:
ChangeLogParser.cleanup()

parse

public Collection parse(InputStream anInputStream)
                 throws IOException
Parse the input stream into a collection.

Specified by:
parse in interface ChangeLogParser
Parameters:
anInputStream - an input stream containing clearcase log output
Returns:
a collection of ChangeLogEntry's
Throws:
IOException - when there are errors reading the provided stream

setDateFormatInFile

public void setDateFormatInFile(String dateFormat)
Description copied from interface: ChangeLogParser
Set the date formatter for parse starteam stream

Specified by:
setDateFormatInFile in interface ChangeLogParser
Parameters:
dateFormat - a dateFormat for replace the local format


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.