Class IndexReaderV1

java.lang.Object
org.jboss.jandex.IndexReaderImpl
org.jboss.jandex.IndexReaderV1

final class IndexReaderV1 extends IndexReaderImpl
Reads a Jandex index file and returns the saved index. See Indexer for a thorough description of how the Index data is produced.

An IndexReader loads the stream passed to it's constructor and applies the appropriate buffering. The Jandex index format is designed for efficient reading and low final memory storage.

Thread-Safety

IndexReader is not thread-safe and can not be shared between concurrent threads. The resulting index, however, is.