Class LineReaderAdapter
java.lang.Object
com.metasolv.nm.collector.file.handler.LineReaderAdapter
- All Implemented Interfaces:
RecordProviderIfc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected com.nt.common.util.PosLineReaderprotected longprotected LinkedListprotected LinkedListprotected 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:
getHeaderin interfaceRecordProviderIfc- Throws:
IOException
-
getRecord
- Specified by:
getRecordin interfaceRecordProviderIfc- Throws:
IOException
-
getTrailer
- Specified by:
getTrailerin interfaceRecordProviderIfc- Throws:
IOException
-
getLines
- Throws:
IOException
-
readLine
- Throws:
IOException
-
open
- Specified by:
openin interfaceRecordProviderIfc- Throws:
IOException
-
open
- Specified by:
openin interfaceRecordProviderIfc- Throws:
IOException
-
close
- Specified by:
closein interfaceRecordProviderIfc- Throws:
IOException
-
getFilePosition
- Specified by:
getFilePositionin interfaceRecordProviderIfc- Throws:
IOException
-
setFilePosition
- Specified by:
setFilePositionin interfaceRecordProviderIfc- Throws:
IOException
-