Class XmlDirectoryProductHandler

All Implemented Interfaces:
ProductHandler

public class XmlDirectoryProductHandler extends DirectoryProductHandler
Store a product to a Directory. Product attributes are stored to a file named "product.xml". All ProductOutput methods are passed to an ObjectProductOutput object, except files with non-empty paths. Files are stored in the directory, and all other product attributes are stored using the product xml format to a file name "product.xml".
  • Field Details

    • PRODUCT_XML_FILENAME

      public static final String PRODUCT_XML_FILENAME
      The file where product attributes are stored.
      See Also:
  • Constructor Details

    • XmlDirectoryProductHandler

      public XmlDirectoryProductHandler(File directory)
      Construct a new DirectoryProductHandler object.
      Parameters:
      directory - where product contents will be stored.
  • Method Details