Package org.apache.maven.index.reader
Class ChunkReader
java.lang.Object
org.apache.maven.index.reader.ChunkReader
Maven 2 Index published binary chunk reader, it reads raw Maven Indexer records from the transport binary format.
- Since:
- 5.1.2
-
Constructor Details
-
ChunkReader
- Throws:
IOException
-
-
Method Details
-
getName
Returns the chunk name. -
getVersion
public int getVersion()Returns index version. All releases so far always returned1
. -
getTimestamp
Returns the index timestamp of last update of the index. -
iterator
Returns theRecord
iterator. -
close
Closes this reader and it's underlying input.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-