org.apache.maven.vsslib
Class VssChangeLogParser

java.lang.Object
  extended byorg.apache.maven.vsslib.VssChangeLogParser
All Implemented Interfaces:
ChangeLogParser

public class VssChangeLogParser
extends Object
implements ChangeLogParser

Visual Source Safe specific implementation of ChangeLogParser interface.

Author:
Freddy Mallet

Constructor Summary
VssChangeLogParser()
          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 inputStream)
          Parse the input stream into a collection.
 void setDateFormatInFile(String s)
          Defined in ChangeLogParser interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VssChangeLogParser

public VssChangeLogParser()
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)

parse

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

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

cleanup

public void cleanup()
Clean up any parser resources

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

setDateFormatInFile

public void setDateFormatInFile(String s)
Defined in ChangeLogParser interface

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


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