Class AsciiFileHandler

java.lang.Object
com.metasolv.nm.collector.file.handler.AsciiFileHandler
All Implemented Interfaces:
FileHandlerIfc

public class AsciiFileHandler extends Object implements FileHandlerIfc
The AsciiFileHandler class provides an XML-driven ASCII processor that can be used to support the collection of records from a variety of different ASCII file types. It has three main components: - a definition component that encapsulates the information that is required in order to parse a particular ASCII file type - a record provider component that is responsible for parsing an ASCII file, and returning individual string-based records - a record processor component that is responsible for converting the string-based record into a NAR-based record It will then pass the converted NAR-based records to the NPL field processor for further processing. This class is also responsible for monitoring the progress as a data file is processed so that it can resume processing in the correct location if the node is restarted.