Class RandomAccessPolozky
java.lang.Object
cz.drg.pregrouper.process.fileRead.RandomAccessPolozky
- All Implemented Interfaces:
ByteReader
Random access reader for sorted polozky file, using RAF and offset shards for efficient reading of polozky data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getpolozky(String idDokladu) voidintread(byte[] b)
-
Constructor Details
-
RandomAccessPolozky
public RandomAccessPolozky()
-
-
Method Details
-
loadSortedPolozkyFile
public void loadSortedPolozkyFile() -
getpolozky
-
read
- Specified by:
readin interfaceByteReader- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceByteReader
-