Package org.jsoup.internal
Class Normalizer
java.lang.Object
org.jsoup.internal.Normalizer
Util methods for normalizing strings. Jsoup internal use only, please don't depend on this API.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Normalizer
public Normalizer()
-
-
Method Details
-
lowerCase
Drops the input string to lower case. -
normalize
Lower-cases and trims the input string. -
normalize
Deprecated.internal helper; replace withlowerCase(String)for no-trim, ornormalize(String)for trim + lowercase. Will be removed in jsoup 1.24.1.If a string literal, just lower case the string; otherwise lower-case and trim. -
xmlSafeTagName
Minimal helper to get an otherwise OK HTML name like "foo<bar" to "foo_bar".
-
lowerCase(String)for no-trim, ornormalize(String)for trim + lowercase.