Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.util.evfparser
Class QSYSEventsFileParser

java.lang.Object
  extended by com.ibm.etools.iseries.rse.util.evfparser.QSYSEventsFileParser
Direct Known Subclasses:
QSYSEventsFileParserLite

public abstract class QSYSEventsFileParser
extends Object

An abstract class for parsing an events file.


Field Summary
static String Copyright
           
 
Constructor Summary
QSYSEventsFileParser(File file)
          Creates an events file parser object.
 
Method Summary
abstract  QSYSEventsFileErrorInformationRecord createErrorInformationRecord(StringTokenizer st)
          Creates a Error Information record object.
abstract  QSYSEventsFileFeedbackCodeRecord createFeedbackCodeRecord(StringTokenizer st)
          Creates a Feedback Code record object.
abstract  QSYSEventsFileFileEndRecord createFileEndRecord(StringTokenizer st)
          Creates a File End record object.
abstract  QSYSEventsFileFileIDRecord createFileIDRecord(StringTokenizer st)
          Creates a File ID record object.
abstract  QSYSEventsFileMapDefineRecord createMapDefineRecord(StringTokenizer st)
          Creates a Map Define record object.
abstract  QSYSEventsFileMapEndRecord createMapEndRecord(StringTokenizer st)
          Creates a Map End record object.
abstract  QSYSEventsFileMapStartRecord createMapStartRecord(StringTokenizer st)
          Creates a Map Start record object.
abstract  QSYSEventsFileProcessorRecord createProcessorRecord(StringTokenizer st)
          Creates a Processor record object.
abstract  QSYSEventsFileProgramRecord createProgramRecord(StringTokenizer st)
          Creates a Program record object.
abstract  QSYSEventsFileTimestampRecord createTimestampRecord(StringTokenizer st)
          Creates a Timestamp record object.
 File getFile()
          Get the events file.
abstract  void handleErrorInformationRecord(QSYSEventsFileErrorInformationRecord errorInformationRecord)
          Handle a Error Information record object.
abstract  void handleFeedbackCodeRecord(QSYSEventsFileFeedbackCodeRecord feedbackCodeRecord)
          Handle a Feedback Code record object.
abstract  void handleFileEndRecord(QSYSEventsFileFileEndRecord fileEndRecord)
          Handle a File End record object.
abstract  void handleFileIDRecord(QSYSEventsFileFileIDRecord fileIDRecord)
          Hnadle a File ID record object.
abstract  void handleMapDefineRecord(QSYSEventsFileMapDefineRecord mapDefineRecord)
          Handle a Map Define record object.
abstract  void handleMapEndRecord(QSYSEventsFileMapEndRecord mapEndRecord)
          Handle a Map End record object.
abstract  void handleMapStartRecord(QSYSEventsFileMapStartRecord mapStartRecord)
          Handle a Map Start record object.
abstract  void handleProcessorRecord(QSYSEventsFileProcessorRecord processorRecord)
          Handle a Processor record object.
abstract  void handleProgramRecord(QSYSEventsFileProgramRecord programRecord)
          Handle a Program record object.
abstract  void handleTimestampRecord(QSYSEventsFileTimestampRecord timestampRecord)
          Handle a Timestamp record object.
 void parse()
          Parse the events file.
 void setFile(File file)
          Set the events file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

QSYSEventsFileParser

public QSYSEventsFileParser(File file)
Creates an events file parser object.

Parameters:
the - events file
Method Detail

setFile

public void setFile(File file)
Set the events file.

Parameters:
the - events file

getFile

public File getFile()
Get the events file.

Returns:
the events file

parse

public void parse()
           throws FileNotFoundException,
                  UnsupportedEncodingException,
                  IOException
Parse the events file.

Throws:
FileNotFoundException
UnsupportedEncodingException
IOException

createTimestampRecord

public abstract QSYSEventsFileTimestampRecord createTimestampRecord(StringTokenizer st)
Creates a Timestamp record object.

Parameters:
string - tokenizer
Returns:
Timestamp record object

createProcessorRecord

public abstract QSYSEventsFileProcessorRecord createProcessorRecord(StringTokenizer st)
Creates a Processor record object.

Parameters:
string - tokenizer
Returns:
Processor record object

createFileIDRecord

public abstract QSYSEventsFileFileIDRecord createFileIDRecord(StringTokenizer st)
Creates a File ID record object.

Parameters:
string - tokenizer
Returns:
File ID record object

createFileEndRecord

public abstract QSYSEventsFileFileEndRecord createFileEndRecord(StringTokenizer st)
Creates a File End record object.

Parameters:
string - tokenizer
Returns:
File End record object

createErrorInformationRecord

public abstract QSYSEventsFileErrorInformationRecord createErrorInformationRecord(StringTokenizer st)
Creates a Error Information record object.

Parameters:
string - tokenizer
Returns:
Error Information record object

createProgramRecord

public abstract QSYSEventsFileProgramRecord createProgramRecord(StringTokenizer st)
Creates a Program record object.

Parameters:
string - tokenizer
Returns:
Program record object

createMapDefineRecord

public abstract QSYSEventsFileMapDefineRecord createMapDefineRecord(StringTokenizer st)
Creates a Map Define record object.

Parameters:
string - tokenizer
Returns:
Map Define record object

createMapStartRecord

public abstract QSYSEventsFileMapStartRecord createMapStartRecord(StringTokenizer st)
Creates a Map Start record object.

Parameters:
string - tokenizer
Returns:
Map Start record object

createMapEndRecord

public abstract QSYSEventsFileMapEndRecord createMapEndRecord(StringTokenizer st)
Creates a Map End record object.

Parameters:
string - tokenizer
Returns:
Map End record object

createFeedbackCodeRecord

public abstract QSYSEventsFileFeedbackCodeRecord createFeedbackCodeRecord(StringTokenizer st)
Creates a Feedback Code record object.

Parameters:
string - tokenizer
Returns:
Feedback Code record object

handleTimestampRecord

public abstract void handleTimestampRecord(QSYSEventsFileTimestampRecord timestampRecord)
Handle a Timestamp record object.

Parameters:
Timestamp - record object

handleProcessorRecord

public abstract void handleProcessorRecord(QSYSEventsFileProcessorRecord processorRecord)
Handle a Processor record object.

Parameters:
Processor - record object

handleFileIDRecord

public abstract void handleFileIDRecord(QSYSEventsFileFileIDRecord fileIDRecord)
Hnadle a File ID record object.

Parameters:
File - ID record object

handleFileEndRecord

public abstract void handleFileEndRecord(QSYSEventsFileFileEndRecord fileEndRecord)
Handle a File End record object.

Parameters:
File - End record object

handleErrorInformationRecord

public abstract void handleErrorInformationRecord(QSYSEventsFileErrorInformationRecord errorInformationRecord)
Handle a Error Information record object.

Parameters:
Error - Information record object

handleProgramRecord

public abstract void handleProgramRecord(QSYSEventsFileProgramRecord programRecord)
Handle a Program record object.

Parameters:
Program - record object

handleMapDefineRecord

public abstract void handleMapDefineRecord(QSYSEventsFileMapDefineRecord mapDefineRecord)
Handle a Map Define record object.

Parameters:
Map - Define record obejct

handleMapStartRecord

public abstract void handleMapStartRecord(QSYSEventsFileMapStartRecord mapStartRecord)
Handle a Map Start record object.

Parameters:
Map - Start record object

handleMapEndRecord

public abstract void handleMapEndRecord(QSYSEventsFileMapEndRecord mapEndRecord)
Handle a Map End record object.

Parameters:
Map - End record object

handleFeedbackCodeRecord

public abstract void handleFeedbackCodeRecord(QSYSEventsFileFeedbackCodeRecord feedbackCodeRecord)
Handle a Feedback Code record object.

Parameters:
Feedback - Code record object

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.