Class AbstractConfig

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ATTR_VERSION  
      static java.lang.String DIR_NAME  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File getConfigDir()  
      boolean load​(java.io.File configFile)  
      boolean load​(java.io.InputStream in)
      The specified stream remains open after this method returns.
      void load​(org.w3c.dom.Element doc)  
      void save​(java.io.File configFile)  
      void save​(java.io.OutputStream out)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractConfig

        public AbstractConfig()
    • Method Detail

      • load

        public boolean load​(java.io.InputStream in)
                     throws java.io.IOException,
                            ConfigurationException

        The specified stream remains open after this method returns.

        Parameters:
        in -
        Returns:
        Throws:
        java.io.IOException
        ConfigurationException
      • save

        public void save​(java.io.File configFile)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • save

        public void save​(java.io.OutputStream out)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getConfigDir

        public java.io.File getConfigDir()
                                  throws java.io.IOException
        Throws:
        java.io.IOException