Package org.apache.abdera.i18n.text
Class Sanitizer
- java.lang.Object
-
- org.apache.abdera.i18n.text.Sanitizer
-
@Deprecated(since="2021-07-29") public class Sanitizer extends java.lang.Object
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SANITIZE_PATTERN
Deprecated.
-
Constructor Summary
Constructors Constructor Description Sanitizer()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String
sanitize(java.lang.String slug)
Deprecated.static java.lang.String
sanitize(java.lang.String slug, java.lang.String filler)
Deprecated.static java.lang.String
sanitize(java.lang.String slug, java.lang.String filler, boolean lower)
Deprecated.static java.lang.String
sanitize(java.lang.String slug, java.lang.String filler, boolean lower, java.lang.String pattern)
Deprecated.static java.lang.String
sanitize(java.lang.String slug, java.lang.String filler, boolean lower, Normalizer.Form form)
Deprecated.static java.lang.String
sanitize(java.lang.String slug, java.lang.String filler, boolean lower, Normalizer.Form form, java.lang.String pattern)
Deprecated.Used to sanitize a string.static java.lang.String
sanitize(java.lang.String slug, java.lang.String filler, java.lang.String pattern)
Deprecated.
-
-
-
Field Detail
-
SANITIZE_PATTERN
public static final java.lang.String SANITIZE_PATTERN
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
sanitize
public static java.lang.String sanitize(java.lang.String slug)
Deprecated.
-
sanitize
public static java.lang.String sanitize(java.lang.String slug, java.lang.String filler)
Deprecated.
-
sanitize
public static java.lang.String sanitize(java.lang.String slug, java.lang.String filler, boolean lower)
Deprecated.
-
sanitize
public static java.lang.String sanitize(java.lang.String slug, java.lang.String filler, java.lang.String pattern)
Deprecated.
-
sanitize
public static java.lang.String sanitize(java.lang.String slug, java.lang.String filler, boolean lower, java.lang.String pattern)
Deprecated.
-
sanitize
public static java.lang.String sanitize(java.lang.String slug, java.lang.String filler, boolean lower, Normalizer.Form form)
Deprecated.
-
sanitize
public static java.lang.String sanitize(java.lang.String slug, java.lang.String filler, boolean lower, Normalizer.Form form, java.lang.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)
-
-