Skip navigation links
SPT Core API

Package com.sptci.io

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

See: Description

Package com.sptci.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.
Skip navigation links
SPT Core API