public class StandardCharsetDetector extends CharsetDetector
CHARSET_TOKEN, DEFAULT_CHARSET, HTTP_CONTENT_TYPE_HEADER, MAX_CHARSET_READAHEAD| Constructor and Description |
|---|
StandardCharsetDetector() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCharset(byte[] buffer,
int len,
HttpHeaders headers) |
contentTypeToCharset, findMetaContentType, getCharsetFromBytes, getCharsetFromHeaders, getCharsetFromMeta, isCharsetSupported, mapCharsetpublic java.lang.String getCharset(byte[] buffer,
int len,
HttpHeaders headers)
throws java.io.IOException
getCharset in class CharsetDetectorjava.io.IOException - if there are problems reading the ResourceCopyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.