Class XmlDB<T>

  • Type Parameters:
    T - type of the list elements

    public class XmlDB<T>
    extends Object
    XMLDB, simple, XML file based storage facility using the standard XMLEncoder/XMLDecoder serialization mechanism.
    Author:
    Hendrik Schreiber
    • Constructor Detail

      • XmlDB

        public XmlDB​(File file,
                     boolean compress,
                     Cipher cipher,
                     Key key)
        Parameters:
        file - data file
        compress - compress data
      • XmlDB

        public XmlDB​(File file)
        Parameters:
        file - data file
      • XmlDB

        public XmlDB​(URL url,
                     boolean compress,
                     Cipher cipher,
                     Key key)
        URL backed read-only XmlDB.
        Parameters:
        url - data url
        compress - compress data
      • XmlDB

        public XmlDB​(URL url)
        URL backed read-only XmlDB.
        Parameters:
        url - data file