Package org.archive.wayback.replay.charset

Examples of org.archive.wayback.replay.charset.CharsetDetector


        wbRequest = new WaybackRequest();
        wbRequest.setFrameWrapperContext(false);
       
        // replace default CharsetDetector (StandardCharsetDetector) with a stub
        // so as not to depend on its behavior.
        cut.setCharsetDetector(new CharsetDetector() {
            @Override
            public String getCharset(Resource httpHeadersResource,
                    Resource payloadResource, WaybackRequest wbRequest) {
                return "UTF-8";
            }
View Full Code Here

TOP

Related Classes of org.archive.wayback.replay.charset.CharsetDetector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.