| Interface | Description |
|---|---|
| Closeable |
Interface for I/O resources that support (generally require!) closing.
|
| DataFilterElement |
Basic
Coggable element of a DataFilterExpression |
| DataRecordSourceFactory |
Factory interface for creating DataRecordSources
from a given DataRecordQuery.
|
| FileActivityListener |
A listener that hears FileActivityEvents.
|
| InputSource |
A generic input source.
|
| IOCopier |
Interface for tools that copy data from an input source to an output sink.
|
| IterableInput<T> |
An Iterable data input source with open/close and exception handling
behavior.
|
| OutputSink |
A generic output sink.
|
| Class | Description |
|---|---|
| AbstractIterableInput<T> |
Convenience implementation of several aspects of IterableInput.
|
| AllFilesFilter |
A filename filter that accepts all files, regardless of name or extension.
|
| AsynchronousStreamCopy |
A single AsynchronousStreamCopy job.
|
| AsynchronousStreamCopyManager |
A manager for stream copies where the input and output streams may be
provided at different times in different threads.
|
| BitLib |
A general library for bit-flipping, endianness conversion, and other routine
annoyances.
|
| CompressionSwitchingInputStream |
An input stream that turns on and off compression on the fly.
|
| CompressionSwitchingOutputStream |
An output stream that turns on and off compression on the fly.
|
| ConnectionTracker |
Tool to track, on a system-wide basis, opens and closes of files, URLs, or similar connections.
|
| ConnectionTracker.ConnectionEntry |
This class models a single entry in the ConnectionTracker.
|
| ConnectionTrackingInputStream |
An input stream that tracks opens and closes with ConnectionTracker.
|
| ConnectionTrackingOutputStream |
An output stream that tracks opens and closes with ConnectionTracker.
|
| CountingInputStream |
An input stream that counts off bytecount of all reads.
|
| CountingOutputStream |
An output stream that counts off bytecount of all reads.
|
| DataCopier |
Copies bytes from a
DataInput to a DataOutput. |
| DataFilterExpression |
Abstraction of an SQL where clause.
|
| DataFilterExpressionLexer | |
| DataFilterExpressionParser | |
| DataFilterExpressionParser.complex_expr_return | |
| DataFilterExpressionParser.quote_word_return | |
| DataFilterField |
DataFilterElement representing a field. |
| DataFilterSort |
Contains sorting information for a DataRecordQuery.
|
| DataRecordCopier |
Handles copying values from a DataRecordSource into a DataRecordSink.
|
| DataRecordQuery |
Abstraction of a query.
|
| DataRecordSink |
A sink for data records, which are written sequentially.
|
| DataRecordSource |
A source for data records, which are retrieved sequentially.
|
| DirectoryExtensionFilter |
File Filter that allows directories as well as a filtered file view.
|
| ExtensionFilter |
A filename filter that filters based on extensions.
|
| ExtensionListFilter |
A filename filter that filters based on a list of extensions.
|
| FastDataInputStream |
A self-buffering data input stream.
|
| FileActivityEvent |
An event that notifies a listener of something happening with a specific
file.
|
| FileExtensionFilter |
A filename filter that accepts only files with the given extension.
|
| FileExtensionListFilter |
A filename filter that filters based on a list of extensions.
|
| FileLib |
General tools for dealing with java.io.File objects.
|
| FilePatternFilter |
A filename filter that uses a regular-expression pattern to find matches.
|
| FilesystemIterator |
Iterates through a directory tree, with one item for each matching file.
|
| InputLogger |
A runnable that takes an input stream and logs all inputs from it.
|
| InputTosser |
A runnable that takes an input stream and discards all inputs from it.
|
| IOConstants |
Constants used in I/O operations.
|
| IOLib |
General-purpose I/O routines.
|
| RandomAccessDataRecordSource |
Superclass for DataRecordSources whose records can also be retrieved via a numeric index.
|
| RandomAccessFileInputStream | |
| ReaderCopier |
Copies characters from a
Reader to a Writer. |
| SequentialIterableInput<T> |
A sequential aggregator of IterableInputs.
|
| SerialPortLib | |
| SerialPortWrapper |
Opens the serial port in its constructor or throws an IOException.
|
| SlowLineReader |
Reads complete lines from an InputStream.
|
| StreamCopier |
Copies bytes from a
InputStream to a
OutputStream. |
| TextLineReader |
A line-oriented text file reader based on IterableInput.
|
| Enum | Description |
|---|---|
| DataFilterField.FieldType |
Types of field
|
| DataFilterOperator |
Operators for
DataFilterExpressions |
| DataFilterSortOption |
Options for
DataFilterSort. |
| IterableInput.Status |
Representation of the internal status of an IterableInput, as returned by
getStatus().
|
| Exception | Description |
|---|---|
| FileParseException |
An exception occurring during parsing of a text file, generally accompanied
by line and character position and perhaps a snippet of text.
|
This package contains i/o infrastructure - i/o in the classic sense of reading bytes and character data to and from files, streams, and other such things.
DataRecordSource is the standard method for reading tabular data into the Partner system from a wide variety of formats. Actual implementations of it will lie in the com.partnersoft.formats.* packages.
However, there are some lower-level facilities too. Many of the classes provided are designed to augment java.io functionality, specifically java.io.File. FileLib
is the heavy here; it has a ton of much-needed functions to copy and remove files and treat them as full directory trees instead
of limping through by hand.
Similarly, the various implementations of IOCopier eliminate tedious data copying code when transferring data from
one stream to another.
Copyright 1997-2006 Partner Software, Inc.