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 |
|---|---|
String |
getCharset(byte[] buffer,
int len,
HttpHeaders headers) |
contentTypeToCharset, findMetaContentType, getCharsetFromBytes, getCharsetFromHeaders, getCharsetFromMeta, isCharsetSupported, mapCharsetpublic String getCharset(byte[] buffer, int len, HttpHeaders headers) throws IOException
getCharset in class CharsetDetectorIOException - if there are problems reading the ResourceCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.