com.anthonyeden.lib.io |
IO utilities. This package includes streams which count bytes which
have been read and written as well a Writer which can be used to write
directly to a JTextArea and a NullWriter for throwing away data written
to the writer.
|
Java Source File Name | Type | Comment |
ByteCountInputStream.java | Class | A FilterInputStream which will keep track of the number of bytes
read from the underlying stream. |
ByteCountOutputStream.java | Class | A FilterOutputStream which will keep track of the number of bytes
written to the underlying stream. |
JTextAreaWriter.java | Class | A implementation of the java.io.Writer class which provides writing to a
JTextArea via a stream.
Note: There appears to be bug in the Macintosh implementation of
the JDK 1.1 where a PrintWriter writing to this class will not include the
correct line feeds for display in a JTextArea. |
NullWriter.java | Class | A null writer will not write any data. |