Quadcap Embeddable Server

com.quadcap.io.TraceOutputStream Class Reference

Inheritance diagram for com.quadcap.io.TraceOutputStream:

OutputStream List of all members.

Detailed Description

A filter output stream that simply keeps track of the count of bytes written.

Author:
Stan Bailes

Definition at line 52 of file TraceOutputStream.java.

Public Member Functions

 TraceOutputStream (OutputStream os)
void write (int b) throws IOException
void write (byte[] buf, int offset, int len) throws IOException
void write (byte[] buf) throws IOException
void flush () throws IOException
void close () throws IOException

Package Attributes

OutputStream out


Constructor & Destructor Documentation

com.quadcap.io.TraceOutputStream.TraceOutputStream OutputStream  os  ) 
 

Definition at line 55 of file TraceOutputStream.java.


Member Function Documentation

void com.quadcap.io.TraceOutputStream.close  )  throws IOException
 

Definition at line 79 of file TraceOutputStream.java.

References com.quadcap.io.TraceOutputStream.out.

void com.quadcap.io.TraceOutputStream.flush  )  throws IOException
 

Definition at line 74 of file TraceOutputStream.java.

References com.quadcap.io.TraceOutputStream.out.

void com.quadcap.io.TraceOutputStream.write byte[]  buf  )  throws IOException
 

Definition at line 69 of file TraceOutputStream.java.

References com.quadcap.io.TraceOutputStream.out.

void com.quadcap.io.TraceOutputStream.write byte[]  buf,
int  offset,
int  len
throws IOException
 

Definition at line 64 of file TraceOutputStream.java.

References com.quadcap.io.TraceOutputStream.out.

void com.quadcap.io.TraceOutputStream.write int  b  )  throws IOException
 

Definition at line 59 of file TraceOutputStream.java.

References com.quadcap.io.TraceOutputStream.out, and com.quadcap.io.TraceOutputStream.write().

Referenced by com.quadcap.io.TraceOutputStream.write().


Member Data Documentation

OutputStream com.quadcap.io.TraceOutputStream.out [package]
 

Definition at line 53 of file TraceOutputStream.java.

Referenced by com.quadcap.io.TraceOutputStream.close(), com.quadcap.io.TraceOutputStream.flush(), and com.quadcap.io.TraceOutputStream.write().