Package nu.validator.htmlparser.io
Class Encoding
java.lang.Object
nu.validator.htmlparser.io.Encoding
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
static Encoding
Returns the actualHtmlEncoding.Returns the canonName.boolean
Returns the asciiSuperset.boolean
Returns the likelyEbcdic.boolean
Returns the obscure.boolean
boolean
Returns the shouldNot.static void
static String
toAsciiLowerCase
(String str) static String
-
Field Details
-
UTF8
-
UTF16
-
UTF16LE
-
UTF16BE
-
WINDOWS1252
-
-
Method Details
-
forName
-
toNameKey
-
toAsciiLowerCase
-
isAsciiSuperset
public boolean isAsciiSuperset()Returns the asciiSuperset.- Returns:
- the asciiSuperset
-
getCanonName
Returns the canonName.- Returns:
- the canonName
-
isLikelyEbcdic
public boolean isLikelyEbcdic()Returns the likelyEbcdic.- Returns:
- the likelyEbcdic
-
isObscure
public boolean isObscure()Returns the obscure.- Returns:
- the obscure
-
isShouldNot
public boolean isShouldNot()Returns the shouldNot.- Returns:
- the shouldNot
-
isRegistered
public boolean isRegistered() -
canEncode
public boolean canEncode()- Returns:
- See Also:
-
newDecoder
- Returns:
- See Also:
-
newEncoder
- Returns:
- See Also:
-
getActualHtmlEncoding
Returns the actualHtmlEncoding.- Returns:
- the actualHtmlEncoding
-
main
-