Mp3dings 
20100427

de.mospace.lang
Interface ProcessRunnable.Output

All Known Implementing Classes:
ProcessRunnable.FileOutput, ProcessRunnable.StreamOutput
Enclosing class:
ProcessRunnable

protected static interface ProcessRunnable.Output

A common interface for various kinds of byte sinks.


Method Summary
 void closeOutputStream(OutputStream out)
          Signals that no more bytes will be written to the specified output stream.
 OutputStream openOutputStream()
          Opens and/or returns this byte sink as an output stream.
 

Method Detail

openOutputStream

OutputStream openOutputStream()
                              throws IOException
Opens and/or returns this byte sink as an output stream.

Returns:
the output stream for this byte sink
Throws:
IOException

closeOutputStream

void closeOutputStream(OutputStream out)
                       throws IOException
Signals that no more bytes will be written to the specified output stream. Depending on the kind of output the output stream may or may not be closed by this method.

Parameters:
out - an output stream obtained from a previous call to openOutputStream().
Throws:
IOException

Mp3dings 
20100427