Package org.apache.abdera.i18n.text
Class Sanitizer
java.lang.Object
org.apache.abdera.i18n.text.Sanitizer
Deprecated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringDeprecated.static StringDeprecated.static StringDeprecated.static StringDeprecated.static Stringsanitize(String slug, String filler, boolean lower, Normalizer.Form form) Deprecated.static Stringsanitize(String slug, String filler, boolean lower, Normalizer.Form form, String pattern) Deprecated.Used to sanitize a string.static StringDeprecated.
-
Field Details
-
SANITIZE_PATTERN
Deprecated.- See Also:
-
-
Constructor Details
-
Sanitizer
public Sanitizer()Deprecated.
-
-
Method Details
-
sanitize
Deprecated. -
sanitize
Deprecated. -
sanitize
Deprecated. -
sanitize
Deprecated. -
sanitize
Deprecated. -
sanitize
Deprecated. -
sanitize
public static String sanitize(String slug, String filler, boolean lower, Normalizer.Form form, String pattern) Deprecated.Used to sanitize a string. Optionally performs Unicode Form KD normalization on a string to break extended characters down, then replaces non alphanumeric characters with a specified filler replacement.- Parameters:
slug- The source stringfiller- The replacement stringlower- True if the result should be lowercaseform- Unicode Normalization form to use (or null)
-