Package org.apache.nifi.processor.io
Interface OutputStreamCallback
public interface OutputStreamCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(OutputStream out) Provides a managed output stream for use.
-
Method Details
-
process
Provides a managed output stream for use. The input stream is automatically opened and closed though it is ok to close the stream manually - and quite important if any streams wrapping these streams open resources which should be cleared.- Parameters:
out
- the stream to write bytes to- Throws:
IOException
- if issues writing to output stream
-