Package org.apache.solr.util
Class IndexOutputOutputStream
java.lang.Object
java.io.OutputStream
org.apache.solr.util.IndexOutputOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Wraps an
IndexOutput to expose it as an OutputStream.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
IndexOutputOutputStream
public IndexOutputOutputStream(org.apache.lucene.store.IndexOutput out)
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-