Class ConfigManager


  • public class ConfigManager
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigManager()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void load​(java.lang.String name)  
      void load​(java.lang.String name, java.nio.file.Path path)  
      void printConfigurables()  
      void registerConfigurable​(java.lang.String name, JsonConfigurable reconfigurable)  
      void reset​(java.lang.String name)  
      void reset​(java.lang.String name, java.nio.file.Path path)  
      void save​(java.lang.String name)  
      void save​(java.lang.String name, java.nio.file.Path path)  
      • Methods inherited from class java.lang.Object

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

      • ConfigManager

        public ConfigManager()
    • Method Detail

      • registerConfigurable

        public void registerConfigurable​(java.lang.String name,
                                         JsonConfigurable reconfigurable)
      • printConfigurables

        public void printConfigurables()
      • save

        public void save​(java.lang.String name)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • load

        public void load​(java.lang.String name)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • save

        public void save​(java.lang.String name,
                         java.nio.file.Path path)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • reset

        public void reset​(java.lang.String name)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • load

        public void load​(java.lang.String name,
                         java.nio.file.Path path)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • reset

        public void reset​(java.lang.String name,
                          java.nio.file.Path path)
                   throws java.io.IOException
        Throws:
        java.io.IOException