|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream org.apache.jackrabbit.core.query.lucene.directory.IndexOutputStream
public class IndexOutputStream
IndexOutputStream
wraps an IndexOutput
and exposes it
as a regular OutputStream
.
Constructor Summary | |
---|---|
IndexOutputStream(org.apache.lucene.store.IndexOutput output)
Creates a new index output stream and wraps the given output . |
Method Summary | |
---|---|
void |
close()
Closes the underlying index output. |
void |
flush()
Flushes the underlying index output. |
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
---|
write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexOutputStream(org.apache.lucene.store.IndexOutput output) throws IOException
output
. Bytes will always be written at the end of the
output
.
output
- the lucene index output.
IOException
- if an error occurs while seeking to the end of the
index output
.Method Detail |
---|
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class OutputStream
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |