Node Director
Public Member Functions | Protected Member Functions | List of all members
sfi.director.util.DataTransferOutputStream Class Reference

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 ()

Detailed Description

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.

Constructor & Destructor Documentation

sfi.director.util.DataTransferOutputStream.DataTransferOutputStream ( DataTransferInputStream  in)

Member Function Documentation

void sfi.director.util.DataTransferOutputStream.close ( ) throws IOException
void sfi.director.util.DataTransferOutputStream.finalize ( )
protected
void sfi.director.util.DataTransferOutputStream.write ( byte[]  buffer) throws IOException
void sfi.director.util.DataTransferOutputStream.write ( byte[]  buffer,
int  offset,
int  length 
) throws IOException
void sfi.director.util.DataTransferOutputStream.write ( int  data) throws IOException

The documentation for this class was generated from the following file: