|
Java Annotation Indexer 1.0.0.Final | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.jandex.IndexWriter
public final class IndexWriter
Writes a Jandex index file to a stream. The write process is somewhat more
expensive to allow for fast reads and a compact size. For more information on
the index content, see the documentation on Indexer.
The IndexWriter operates on standard output streams, and also provides suitable buffering.
Thread-Safety
IndexWriter is not thread-safe and can not be shared between concurrent threads.
Indexer,
Index| Constructor Summary | |
|---|---|
IndexWriter(OutputStream out)
Constructs an IndexWriter using the specified stream |
|
| Method Summary | |
|---|---|
int |
write(Index index)
Writes the specified index to the associated output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexWriter(OutputStream out)
out - a stream to write an index to| Method Detail |
|---|
public int write(Index index)
throws IOException
index - the index to write to the stream
IOException - if any i/o error occurs
|
Java Annotation Indexer 1.0.0.Final | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||