Package org.apache.maven.index.reader
Class ChunkReader
java.lang.Object
org.apache.maven.index.reader.ChunkReader
Maven Index published binary chunk reader, it reads raw Maven Indexer records from the transport binary format.
 Instances of this class MUST BE handled as resources (have them closed once done with them), it is user
 responsibility to close them, ideally in try-with-resource block.
- Since:
- 5.1.2
- 
Constructor Details- 
ChunkReader- Throws:
- IOException
 
 
- 
- 
Method Details- 
getNameReturns the chunk name.
- 
getVersionpublic int getVersion()Returns index version. All releases so far always returned1.
- 
getTimestampReturns the index timestamp of last update of the index.
- 
iteratorReturns theRecorditerator.
- 
closeCloses this reader and it's underlying input.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
-