Package com.sk89q.worldguard.util
Class Normal
java.lang.Object
com.sk89q.worldguard.util.Normal
Normal names are strings that are considered equal after they have been
normalized using Unicode's NFC form and made lowercase.
-
Method Summary
-
Method Details
-
getName
Get the original name before normalization.- Returns:
- the original name before normalization
-
getNormal
Get the normalized name.- Returns:
- the normal name
-
normalize
Normalize a string according to the rules of this class.- Parameters:
name
- an string- Returns:
- the normalized string
-
normal
Create a new instance.- Parameters:
name
- the name- Returns:
- an instance
-
equals
-
hashCode
public int hashCode() -
toString
Return the un-normalized name.
-