Class DataValidation
java.lang.Object
com.gamersafer.minecraft.auth.common.util.DataValidation
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Enum<T>>
booleanallValuesMapped
(EnumMap<T, ?> map, Class<T> enumClass) getNotMappedValues
(EnumMap<T, ?> map, Class<T> enumClass) static boolean
isValidIPv4Address
(String address) Checks whether the passed string is a valid IPv4 address.
-
Method Details
-
isValidIPv4Address
Checks whether the passed string is a valid IPv4 address.- Parameters:
address
- the string to check- Returns:
true
if it's a valid address,false
otherwise
-
allValuesMapped
-
getNotMappedValues
-