Package 

Interface FileAwareConfiguration

  • All Implemented Interfaces:
    org.bukkit.configuration.Configuration , org.bukkit.configuration.ConfigurationSection

    
    public interface FileAwareConfiguration
     implements Configuration
                        

    A variant of Configuration that can load/save itself from/to a File.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit load() Loads this Configuration from file.
      abstract Unit save() Saves this Configuration to file.
      abstract File getFile() File that this can load from or save to.
      String getFileName()
      • Methods inherited from class org.bukkit.configuration.Configuration

        contains, contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLocation, getLocation, getLong, getLong, getLongList, getMapList, getName, getObject, getObject, getOfflinePlayer, getOfflinePlayer, getParent, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLocation, isLong, isOfflinePlayer, isSet, isString, isVector, set
      • Methods inherited from class io.pixeloutlaw.minecraft.spigot.config.FileAwareConfiguration

        addDefault, addDefaults, addDefaults, getDefaults, options, setDefaults
      • Methods inherited from class java.lang.Object

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

      • load

         abstract Unit load()

        Loads this Configuration from file. Swallows any exceptions thrown.

      • save

         abstract Unit save()

        Saves this Configuration to file. Swallows any exceptions thrown.