hudson.plugins.cmvc.util
Class CmvcRawParser

java.lang.Object
  extended by hudson.plugins.cmvc.util.CmvcRawParser

public class CmvcRawParser
extends java.lang.Object

Author:
Fábio Franco Uechi

Constructor Summary
CmvcRawParser()
           
 
Method Summary
static java.util.List<CmvcChangeLogSet.CmvcChangeLog> parseChangeLogFile(java.io.Reader reader)
           
static CmvcChangeLogSet parseChangeLogFile(java.io.Reader xml, CmvcChangeLogSet changeLogSet)
           
static java.util.List<CmvcChangeLogSet.CmvcChangeLog.ModifiedFile> parseChangeViewReport(java.io.Reader rawResult)
           
static void parseChangeViewReportAndPopulateChangeLogs(java.io.Reader rawResult, CmvcChangeLogSet changeLogSet)
           
static boolean parseTrackViewReport(java.io.Reader rawResult)
           
static java.util.List<CmvcChangeLogSet.CmvcChangeLog> parseTrackViewReport(java.io.Reader rawResult, CmvcChangeLogSet changeLogSet)
          Parses TrackView raw report and generate a list of CmvcChangeLogSet.CmvcChangeLog
static void writeChangeLogFile(CmvcChangeLogSet changes, java.io.Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmvcRawParser

public CmvcRawParser()
Method Detail

parseTrackViewReport

public static java.util.List<CmvcChangeLogSet.CmvcChangeLog> parseTrackViewReport(java.io.Reader rawResult,
                                                                                  CmvcChangeLogSet changeLogSet)
                                                                           throws java.io.IOException,
                                                                                  java.text.ParseException
Parses TrackView raw report and generate a list of CmvcChangeLogSet.CmvcChangeLog

Parameters:
rawResult -
changeLogSet -
Returns:
Throws:
java.io.IOException
java.text.ParseException

parseTrackViewReport

public static boolean parseTrackViewReport(java.io.Reader rawResult)
                                    throws java.io.IOException
Throws:
java.io.IOException

parseChangeViewReport

public static java.util.List<CmvcChangeLogSet.CmvcChangeLog.ModifiedFile> parseChangeViewReport(java.io.Reader rawResult)
                                                                                         throws java.io.IOException,
                                                                                                java.text.ParseException
Throws:
java.io.IOException
java.text.ParseException

parseChangeViewReportAndPopulateChangeLogs

public static void parseChangeViewReportAndPopulateChangeLogs(java.io.Reader rawResult,
                                                              CmvcChangeLogSet changeLogSet)
                                                       throws java.io.IOException,
                                                              java.text.ParseException
Parameters:
rawResult -
changeLogSet -
Throws:
java.io.IOException
java.text.ParseException

writeChangeLogFile

public static void writeChangeLogFile(CmvcChangeLogSet changes,
                                      java.io.Writer writer)
Parameters:
changes -
writer -

parseChangeLogFile

public static CmvcChangeLogSet parseChangeLogFile(java.io.Reader xml,
                                                  CmvcChangeLogSet changeLogSet)
Parameters:
xml -
Returns:

parseChangeLogFile

public static java.util.List<CmvcChangeLogSet.CmvcChangeLog> parseChangeLogFile(java.io.Reader reader)
                                                                         throws java.io.IOException,
                                                                                org.xml.sax.SAXException
Parameters:
reader -
Returns:
Throws:
java.io.IOException
org.xml.sax.SAXException


Copyright © 2004-2011. All Rights Reserved.