Class Configuration


  • public final class Configuration
    extends Object
    • Method Detail

      • get

        public <T> T get​(String path,
                         T def)
      • contains

        public boolean contains​(String path)
      • getKeys

        public Collection<String> getKeys()
        Gets keys, not deep by default.
        Returns:
        top level keys for this section
      • getByte

        public byte getByte​(String path)
      • getByte

        public byte getByte​(String path,
                            byte def)
      • getShort

        public short getShort​(String path)
      • getShort

        public short getShort​(String path,
                              short def)
      • getInt

        public int getInt​(String path)
      • getInt

        public int getInt​(String path,
                          int def)
      • getLong

        public long getLong​(String path)
      • getLong

        public long getLong​(String path,
                            long def)
      • getFloat

        public float getFloat​(String path)
      • getFloat

        public float getFloat​(String path,
                              float def)
      • getDouble

        public double getDouble​(String path)
      • getDouble

        public double getDouble​(String path,
                                double def)
      • getBoolean

        public boolean getBoolean​(String path)
      • getBoolean

        public boolean getBoolean​(String path,
                                  boolean def)
      • getChar

        public char getChar​(String path)
      • getChar

        public char getChar​(String path,
                            char def)
      • getList

        public List<?> getList​(String path)