Package gov.usgs.earthquake.product.io

Classes that perform input and output for Products. The two primary interfaces are ProductSource and ProductHandler. A ProductSource generates product events. A ProductHandler handles product events. The idea behind these interfaces is to process products using streams, to minimize the memory footprint and to allow creation and processing of products with contents that cannot fit within a virtual machine. There are four main ProductSource/ProductHandler pairs:
Object
Java Object => ObjectProductSource => events
events => ObjectProductHandler => Java Object
Directory
product directory => DirectoryProductSource => events
events => DirectoryProductHandler => product directory
Xml
product xml => XmlProductSource => events
events => XmlProductHandler => product xml
Zip
product zip => ZipProductSource => events
events => ZipProductHandler => product zip