Class XmlProperties

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​java.lang.Object>

    public class XmlProperties
    extends java.util.Properties
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.Properties

        defaults
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlProperties()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void loadXml​(java.io.InputStream is)  
      static void main​(java.lang.String[] argv)  
      void saveXml​(java.io.OutputStream os)  
      void storeXml​(java.io.OutputStream os, java.lang.String header)  
      • Methods inherited from class java.util.Properties

        clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XmlProperties

        public XmlProperties()
                      throws javax.xml.parsers.ParserConfigurationException,
                             javax.xml.transform.TransformerConfigurationException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        javax.xml.transform.TransformerConfigurationException
    • Method Detail

      • loadXml

        public void loadXml​(java.io.InputStream is)
                     throws java.io.IOException,
                            org.xml.sax.SAXException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
      • saveXml

        public void saveXml​(java.io.OutputStream os)
                     throws java.io.IOException,
                            javax.xml.transform.TransformerException
        Throws:
        java.io.IOException
        javax.xml.transform.TransformerException
      • storeXml

        public void storeXml​(java.io.OutputStream os,
                             java.lang.String header)
                      throws java.io.IOException,
                             javax.xml.transform.TransformerException
        Throws:
        java.io.IOException
        javax.xml.transform.TransformerException
      • main

        public static void main​(java.lang.String[] argv)