Package org.planx.io

Generic I/O utilities.

See:
          Description

Interface Summary
FileSystem A file system with allocation and free capabilities.
Loader<K,V>  
Locatable  
Positionable A data source that is positionable using longs or Locators and has an associated SourceId.
PositionalData A Positionable data source which can both be read and written.
PositionalDataInput A Positionable DataInput.
PositionalDataOutput A Positionable DataOutput.
SizeStreamer<E> A Streamer that is also capable of informing, in advance, how many bytes will be written to a data source.
Streamer<E> A Streamer is capable of writing and reading objects of a specific class to and from byte representation.
 

Class Summary
AbstractPositionalData Combines a DataInput and a DataOutput into a PositionalData.
Bound A Bound consists of a Locator and a length.
ByteData A PositionalData source that uses a byte array as data.
FileData A PositionalData source that uses a File as data.
LocalFileSystem An implementation of FileSystem that uses an on-disk file.
Locator A Locator consists of a position and a SourceId.
Locator.CompactStreamer A Streamer capable of converting a Locator to and from byte representation.
MemoryFileSystem An implementation of FileSystem that uses an in-memory byte array to store data.
MultiFileSystem Combines several FileSystems into one providing transparent access to all of them.
PolymorphicStreamer<T> A polymorphic Streamer that can handle multiple datatypes.
SourceId A unique file system identifier used to distinguish between different instances of file systems, and, in some cases, different states of a single file system.
Streamers Tools for Streamers and writing to DataOutput and reading from DataInput.
 

Exception Summary
InvalidSourceIdException Indicates that a SourceId is invalid.
OutOfBoundsException Indicates that a Locator is out of bounds.
 

Package org.planx.io Description

Generic I/O utilities.



Copyright © 2004-2005 Plan-X. All Rights Reserved.