Class Locale

java.lang.Object
de.maxbossing.maxapi.UTils.Locale

public class Locale extends Object
  • 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:
      IOException
      org.json.simple.parser.ParseException
  • Method Details

    • getName

      public String getName()
      Returns the Name of the Locale
      Returns:
      The name of the Locale e.g: de_DE
    • getString

      public String getString(String node)
      Returns a String from the Locale
      Parameters:
      node - the node under which the String is saved
      Returns:
      the Locale String