public class IndexOutputStream extends OutputStream
| Constructor and Description |
|---|
IndexOutputStream(org.apache.lucene.store.IndexOutput output)
Creates a new index output stream and wraps the given
output. |
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.public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.