Class ConfigurationCreator

java.lang.Object
de.simonsator.partyandfriends.utilities.ConfigurationCreator
Direct Known Subclasses:
ConfigLoader, LanguageConfiguration

public abstract class ConfigurationCreator extends Object
  • Field Details

    • FILE

      protected final File FILE
    • configuration

      protected net.md_5.bungee.config.Configuration configuration
  • Constructor Details

    • ConfigurationCreator

      @Deprecated protected ConfigurationCreator(File file)
      Deprecated.
    • ConfigurationCreator

      protected ConfigurationCreator(File file, PAFPluginBase pPlugin)
    • ConfigurationCreator

      protected ConfigurationCreator(File file, PAFPluginBase pPlugin, boolean supportHexColors)
    • ConfigurationCreator

      @Deprecated protected ConfigurationCreator(File file, net.md_5.bungee.api.plugin.Plugin pPlugin)
      Deprecated.
    • ConfigurationCreator

      protected ConfigurationCreator(File file, PAFExtension pPlugin)
  • Method Details

    • process

      protected void process()
    • readFile

      protected void readFile() throws IOException
      Throws:
      IOException
    • reloadConfiguration

      @Deprecated public void reloadConfiguration() throws IOException
      Deprecated.
      Throws:
      IOException
    • getCreatedConfiguration

      public net.md_5.bungee.config.Configuration getCreatedConfiguration()
    • set

      protected void set(String pKey, Object pText)
    • overwriteKeyTemp

      protected void overwriteKeyTemp(String pKey, Object pText)
    • set

      protected void set(String pKey, String... entries)
    • saveFile

      protected void saveFile() throws IOException
      Throws:
      IOException
    • process

      protected void process(net.md_5.bungee.config.Configuration pMessagesYML)
    • copyFromJar

      protected boolean copyFromJar() throws IOException
      Throws:
      IOException
    • copyFromJar

      protected boolean copyFromJar(String pFileNameInJar) throws IOException
      Throws:
      IOException
    • getString

      public String getString(String pIdentifier)
    • getInt

      public int getInt(String pIdentifier)
    • getLong

      public long getLong(String pIdentifier)
    • getBoolean

      public boolean getBoolean(String pIdentifier)
    • getStringList

      public List<String> getStringList(String pIdentifier)
    • get

      public Object get(String pIdentifier)
    • getSectionKeys

      public Collection<String> getSectionKeys(String pIdentifier)