Class GeneratedInternationalPhoneAreaCodes

java.lang.Object
de.powerstat.validation.generated.GeneratedInternationalPhoneAreaCodes

public final class GeneratedInternationalPhoneAreaCodes extends Object
International phone area codes.
  • Field Details

    • PHONEAREAS

      private static final Map<String,String> PHONEAREAS
      Phone area codes map.
  • Constructor Details

    • GeneratedInternationalPhoneAreaCodes

      private GeneratedInternationalPhoneAreaCodes()
      Private default constructor.
  • Method Details

    • contains

      public static boolean contains(String phoneArea)
      Check if phone area code exists.
      Parameters:
      phoneArea - Phone area code to check
      Returns:
      true if phone area code exists, false otherwise
    • getName

      public static String getName(String phoneArea)
      Get english country name for phone area code.
      Parameters:
      phoneArea - Phone area code
      Returns:
      Country name in english