Package org.galliumpowered.config
Interface Configuration
- All Known Implementing Classes:
DefaultConfiguration,PluginConfiguration
public interface Configuration
A configuration file.
-
Method Summary
-
Method Details
-
getDirectory
Path getDirectory()The directory that the configuration file is in.- Returns:
- Configuration directory
-
getName
String getName()Name of the configuration file- Returns:
- Config file name
-
setValue
Sets key to a value- Parameters:
key- Keyvalue- Value
-
getValue
Gets the value of a key- Parameters:
key- Key- Returns:
- Key value
-