protected class PickBestTextEncodingParser.CharsetContentHandlerFactory extends Object implements ContentHandlerFactory
Modifier | Constructor and Description |
---|---|
protected |
CharsetContentHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
ContentHandler |
getNewContentHandler() |
ContentHandler |
getNewContentHandler(OutputStream os,
Charset charset) |
ContentHandler |
getNewContentHandler(OutputStream os,
String encoding) |
public ContentHandler getNewContentHandler()
getNewContentHandler
in interface ContentHandlerFactory
public ContentHandler getNewContentHandler(OutputStream os, String encoding) throws UnsupportedEncodingException
getNewContentHandler
in interface ContentHandlerFactory
UnsupportedEncodingException
public ContentHandler getNewContentHandler(OutputStream os, Charset charset)
getNewContentHandler
in interface ContentHandlerFactory
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.