Package nu.validator.htmlparser.io
Class Encoding
java.lang.Object
nu.validator.htmlparser.io.Encoding
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EncodingReturns the actualHtmlEncoding.Returns the canonName.booleanReturns the asciiSuperset.booleanReturns the likelyEbcdic.booleanReturns the obscure.booleanbooleanReturns the shouldNot.static voidstatic Stringstatic StringtoAsciiLowerCase(String str) static String
-
Field Details
-
UTF8
-
UTF16
-
UTF16LE
-
UTF16BE
-
WINDOWS1252
-
-
Method Details
-
forName
-
toNameKey
-
stripDashAndUnderscore
-
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
-