Node Director
|
Used for program internal data streams. More...
Inherits OutputStream.
Public Member Functions | |
DataTransferOutputStream (DataTransferInputStream in) | |
void | close () throws IOException |
void | write (byte[] buffer) throws IOException |
void | write (byte[] buffer, int offset, int length) throws IOException |
void | write (int data) throws IOException |
Protected Member Functions | |
void | finalize () |
Used for program internal data streams.
Provides more or less the same functionality as Piped{Input,Output}Stream, but works IMHO more consistently.
On the writer side you push data into the stream via the write() methods and close the * stream via close(). The reader side is connected to a DataInputStream.
sfi.director.util.DataTransferOutputStream.DataTransferOutputStream | ( | DataTransferInputStream | in | ) |
void sfi.director.util.DataTransferOutputStream.close | ( | ) | throws IOException |
|
protected |
void sfi.director.util.DataTransferOutputStream.write | ( | byte[] | buffer | ) | throws IOException |
Referenced by sfi.director.util.DataTransferOutputStream.write().
void sfi.director.util.DataTransferOutputStream.write | ( | byte[] | buffer, |
int | offset, | ||
int | length | ||
) | throws IOException |
References sfi.director.util.DataTransferInputStream.push().
void sfi.director.util.DataTransferOutputStream.write | ( | int | data | ) | throws IOException |