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 booleanisValidIPv4Address(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:
trueif it's a valid address,falseotherwise
-
allValuesMapped
-
getNotMappedValues
-