Package org.dhmp.io

Provides the classes for reading and writing HierarchicalMap from data streams, using binary or XML formats.

See:
          Description

Interface Summary
MapInput Interface for reading HierarchicalMap from input source.
MapOutput Interface for writing HierarchicalMap to output drain.
 

Class Summary
AbstractMapInput Abstract class for reading HierarchicalMap from InputStream.
AbstractMapOutput Abstract class for writing HierarchicalMap to OutputStream.
Base64  
Base64.InputStream A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
MapInputStream Read a HierarchicalMap previously written by MapOutputStream from InputStream.
MapMail First version of email interface.
MapOutputStream Write a HierarchicalMap to OutputStream.
MapPreferences Map HierarchicalMap into and from java.util.prefs.Preferences Null Pointer exception will thrown if HierarchicalMap contains null key or null value.
MapReader This class can read a piece of HierarchicalMap instead of whole HierarchicalMap and also support relative key manipulation.
MapSQLStatement Handle SQL statements.
MapSQLStatement.InOutParameter Static class to flag a node to be registered as in/out parameter.
MapSQLStatement.OutParameter Static class to flag a node to be registered as out parameter.
MapSQLStatement.OutResultSet Static class to flag a node to be registered as out ResultSet.
MapSQLStatement.Parameter A parent class for Parameters.
MapWriter This class can generate large output formed by several HierarchicalMap and also support relative key manipulation.
XMLMapInputStream This class reads XML input and generates HierarchicalMap.
XMLMapOutputStream This class writes XML output generated from HierarchicalMap.
 

Exception Summary
MapIOException Thrown when IOException or any other exeception occurs while converting HierarchicalMap to and from streams.
 

Package org.dhmp.io Description

Provides the classes for reading and writing HierarchicalMap from data streams, using binary or XML formats. Leaf objects are cached in internal list to avoid infinite loop while writing the object to the stream. Therefore, be aware to close the stream periodically instead of reusing same instances (specially at the server side application). Use of Java's native object serialization is prefered unless using the MapWriter and/or MapReader to handle large HierarchicalMap or XML.

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see: