Package de.maxbossing.maxapi.UTils
Class Locale
java.lang.Object
de.maxbossing.maxapi.UTils.Locale
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Locale
public Locale(org.bukkit.plugin.java.JavaPlugin plugin, String name) throws IOException, org.json.simple.parser.ParseException Create a new Locale- Parameters:
plugin-name-- Throws:
IOExceptionorg.json.simple.parser.ParseException
-
-
Method Details
-
getName
Returns the Name of the Locale- Returns:
- The name of the Locale e.g: de_DE
-
getString
Returns a String from the Locale- Parameters:
node- the node under which the String is saved- Returns:
- the Locale String
-