org.archive.wayback.replay.charset
Class StandardCharsetDetector
java.lang.Object
org.archive.wayback.replay.charset.CharsetDetector
org.archive.wayback.replay.charset.StandardCharsetDetector
public class StandardCharsetDetector
- extends CharsetDetector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardCharsetDetector
public StandardCharsetDetector()
getCharset
public String getCharset(Resource resource,
WaybackRequest request)
throws IOException
- Specified by:
getCharset in class CharsetDetector
- Parameters:
resource - (presumably text) Resource to determine the charsetrequest - WaybackRequest which may contain additional hints to
processing
- Returns:
- String charset name for the Resource
- Throws:
IOException - if there are problems reading the Resource
Copyright © 2005-2011 Internet Archive. All Rights Reserved.