Rakesh API

Package org.rakeshv.io

A package with utility classes built around the java.io package.

See:
          Description

Class Summary
FileUtilities A utility class that provides static methods for common IO operations.
LoggingInputStream A decorator class that logs all the data it reads from the underlying InputStream to a specified OutputStream.
LoggingReader A decorator class that logs all the data it reads from the underlying Reader to a specified Writer.
TeeOutputStream A implementation of the UNIX tee command.
TeeWriter A implementation of the UNIX tee command.
 

Package org.rakeshv.io Description

A package with utility classes built around the java.io package.

The primary classes available in this package are:

  1. FileUtilities A utility class that provides static method that may be used to perform common IO operations on files.
  2. UNIX tee implementation.
    1. TeeOutputStream A class that enables writing the content from an InputStream to multipe OutputStreams.
    2. TeeWriter A class that enables writing the content from an Reader to multipe Writers.
  3. Logging input stream or readers
    1. LoggingInputStream A class that may be used to log to a specified OutputStream all the content that is read from an InputStream. This is most useful if you wish to keep a copy of the original contents that were received by your application before you applied any custom transformations to it. For example this may be used to save the raw data that was processed by an XML parser.
    2. LoggingReader A class that may be used to log to a specified Writer. This is most useful if you wish to keep a copy of the original contents that were received by your application before you applied any custom transformations to it. For example this may be used to save the raw data that was processed by an XML parser.

Download the package here.


Rakesh API

Copyright © 2002-2005 - Rakesh Vidyadharan