Class SpamProtector
java.lang.Object
de.aikiit.spamprotector.converter.SpamProtector
Class encapsulates the actual character conversion logics.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SpamProtector
public SpamProtector()
-
-
Method Details
-
toPlain
Converts an encoded value into a plain one.- Parameters:
input
- encoded value as set in an enumeration instance of this class.- Returns:
- encoded value or input if no mapping is found.
-
toEncoded
Converts a plain value into an encoded one.- Parameters:
input
- plain value that is transformed by an enumeration instance of this class.- Returns:
- encoded value or input if no mapping is found.
-