Class LineReaderAdapter
java.lang.Object
com.metasolv.nm.collector.file.handler.LineReaderAdapter
- All Implemented Interfaces:
RecordProviderIfc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected int
protected com.nt.common.util.PosLineReader
protected long
protected LinkedList
protected LinkedList
protected int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lineReader
protected com.nt.common.util.PosLineReader lineReader -
headerRecSize
protected int headerRecSize -
bodyRecSize
protected int bodyRecSize -
trailerRecSize
protected int trailerRecSize -
position
protected long position -
storedLines
-
storedPositions
-
-
Constructor Details
-
LineReaderAdapter
-
-
Method Details
-
getHeader
- Specified by:
getHeader
in interfaceRecordProviderIfc
- Throws:
IOException
-
getRecord
- Specified by:
getRecord
in interfaceRecordProviderIfc
- Throws:
IOException
-
getTrailer
- Specified by:
getTrailer
in interfaceRecordProviderIfc
- Throws:
IOException
-
getLines
- Throws:
IOException
-
readLine
- Throws:
IOException
-
open
- Specified by:
open
in interfaceRecordProviderIfc
- Throws:
IOException
-
open
- Specified by:
open
in interfaceRecordProviderIfc
- Throws:
IOException
-
close
- Specified by:
close
in interfaceRecordProviderIfc
- Throws:
IOException
-
getFilePosition
- Specified by:
getFilePosition
in interfaceRecordProviderIfc
- Throws:
IOException
-
setFilePosition
- Specified by:
setFilePosition
in interfaceRecordProviderIfc
- Throws:
IOException
-