iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.core.evfparser
Class EventsFileParser

java.lang.Object
  extended byorg.eclipse.ui.actions.WorkspaceModifyOperation
      extended bycom.ibm.etools.iseries.core.evfparser.EventsFileParser
All Implemented Interfaces:
IRunnableWithProgress

public class EventsFileParser
extends WorkspaceModifyOperation

This is an operation that parses an event file, and opens it in the Error List view


Field Summary
static String Copyright
           
 
Constructor Summary
EventsFileParser(IFile newFile, IFile oldFile, com.ibm.etools.systems.model.SystemConnection connection, String srcType)
           
EventsFileParser(IFile newFile, IFile oldFile, com.ibm.etools.systems.model.SystemConnection connection, String srcType, String projectName)
           
EventsFileParser(IFile newFile, IFile oldFile, com.ibm.etools.systems.model.SystemConnection connection, String srcType, String projectName, boolean useDefaultEncoding)
           
 
Method Summary
 void execute(IProgressMonitor monitor)
           
 com.ibm.etools.systems.core.messages.SystemMessage getException()
          Used to retrieve any errors found when parsing.
 
Methods inherited from class org.eclipse.ui.actions.WorkspaceModifyOperation
run
 
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

EventsFileParser

public EventsFileParser(IFile newFile,
                        IFile oldFile,
                        com.ibm.etools.systems.model.SystemConnection connection,
                        String srcType)

EventsFileParser

public EventsFileParser(IFile newFile,
                        IFile oldFile,
                        com.ibm.etools.systems.model.SystemConnection connection,
                        String srcType,
                        String projectName)

EventsFileParser

public EventsFileParser(IFile newFile,
                        IFile oldFile,
                        com.ibm.etools.systems.model.SystemConnection connection,
                        String srcType,
                        String projectName,
                        boolean useDefaultEncoding)
Method Detail

execute

public void execute(IProgressMonitor monitor)

getException

public com.ibm.etools.systems.core.messages.SystemMessage getException()
Used to retrieve any errors found when parsing. EVFC6009E is retrieved. Caller must provide substitution variables:

%1 Events file name

%2 location

Returns:
null if there was no exception, otherwise a SystemMessage
Since:
6.0

iSeries Remote Systems
v6.0.0

Copyright © 2005 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.