Class ConfigurationCreator

  • Direct Known Subclasses:
    LanguageConfiguration

    public abstract class ConfigurationCreator
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected net.md_5.bungee.config.Configuration configuration  
      protected java.io.File FILE  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ConfigurationCreator​(java.io.File file)
      Deprecated.
      protected ConfigurationCreator​(java.io.File file, net.md_5.bungee.api.plugin.Plugin pPlugin)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected boolean copyFromJar()  
      net.md_5.bungee.config.Configuration getCreatedConfiguration()  
      protected void process​(net.md_5.bungee.config.Configuration pMessagesYML)  
      protected void readFile()  
      void reloadConfiguration()
      Deprecated.
      protected void saveFile()  
      protected void set​(java.lang.String pKey, java.lang.Object pText)  
      protected void set​(java.lang.String pKey, java.lang.String... entries)  
      • Methods inherited from class java.lang.Object

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

      • FILE

        protected final java.io.File FILE
      • configuration

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

      • ConfigurationCreator

        @Deprecated
        protected ConfigurationCreator​(java.io.File file)
        Deprecated.
      • ConfigurationCreator

        protected ConfigurationCreator​(java.io.File file,
                                       net.md_5.bungee.api.plugin.Plugin pPlugin)
    • Method Detail

      • readFile

        protected void readFile()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • reloadConfiguration

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

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

        protected void set​(java.lang.String pKey,
                           java.lang.Object pText)
      • set

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

        protected void saveFile()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • process

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

        protected boolean copyFromJar()
                               throws java.io.IOException
        Throws:
        java.io.IOException