Class StandardCharsetDetector
java.lang.Object
org.archive.format.text.charset.CharsetDetector
org.archive.format.text.charset.StandardCharsetDetector
-
Field Summary
Fields inherited from class org.archive.format.text.charset.CharsetDetector
CHARSET_TOKEN, DEFAULT_CHARSET, HTTP_CONTENT_TYPE_HEADER, MAX_CHARSET_READAHEAD -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.archive.format.text.charset.CharsetDetector
contentTypeToCharset, findMetaContentType, getCharsetFromBytes, getCharsetFromHeaders, getCharsetFromMeta, isCharsetSupported, mapCharset
-
Constructor Details
-
StandardCharsetDetector
public StandardCharsetDetector()
-
-
Method Details
-
getCharset
- Specified by:
getCharsetin classCharsetDetector- Returns:
- String charset name for the Resource
- Throws:
IOException- if there are problems reading the Resource
-