Class YamlPropertyConfigurationFile

java.lang.Object
me.neznamy.tab.api.config.ConfigurationFile
me.neznamy.tab.api.config.YamlConfigurationFile
me.neznamy.tab.shared.config.file.YamlPropertyConfigurationFile
All Implemented Interfaces:
me.neznamy.tab.api.PropertyConfiguration

public class YamlPropertyConfigurationFile extends me.neznamy.tab.api.config.YamlConfigurationFile implements me.neznamy.tab.api.PropertyConfiguration
  • Constructor Details

    • YamlPropertyConfigurationFile

      public YamlPropertyConfigurationFile(InputStream source, File destination) throws org.yaml.snakeyaml.error.YAMLException, IOException
      Throws:
      org.yaml.snakeyaml.error.YAMLException
      IOException
  • Method Details

    • setProperty

      public void setProperty(String name, String property, String server, String world, String value)
      Specified by:
      setProperty in interface me.neznamy.tab.api.PropertyConfiguration
    • getProperty

      public String[] getProperty(String name, String property, String server, String world)
      Specified by:
      getProperty in interface me.neznamy.tab.api.PropertyConfiguration
    • remove

      public void remove(String name)
      Specified by:
      remove in interface me.neznamy.tab.api.PropertyConfiguration
    • getGlobalSettings

      public Map<String,Object> getGlobalSettings(String name)
      Specified by:
      getGlobalSettings in interface me.neznamy.tab.api.PropertyConfiguration
    • getPerWorldSettings

      public Map<String,Map<String,Object>> getPerWorldSettings(String name)
      Specified by:
      getPerWorldSettings in interface me.neznamy.tab.api.PropertyConfiguration
    • getPerServerSettings

      public Map<String,Map<String,Object>> getPerServerSettings(String name)
      Specified by:
      getPerServerSettings in interface me.neznamy.tab.api.PropertyConfiguration
    • getAllEntries

      public Set<String> getAllEntries()
      Specified by:
      getAllEntries in interface me.neznamy.tab.api.PropertyConfiguration