Package org.apache.tika.sax
Interface ContentHandlerFactory
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BasicContentHandlerFactory
,PickBestTextEncodingParser.CharsetContentHandlerFactory
public interface ContentHandlerFactory extends Serializable
Interface to allow easier injection of code for getting a new ContentHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ContentHandler
getNewContentHandler()
ContentHandler
getNewContentHandler(OutputStream os, String encoding)
Deprecated.ContentHandler
getNewContentHandler(OutputStream os, Charset charset)
-
-
-
Method Detail
-
getNewContentHandler
ContentHandler getNewContentHandler()
-
getNewContentHandler
@Deprecated ContentHandler getNewContentHandler(OutputStream os, String encoding) throws UnsupportedEncodingException
Deprecated.- Throws:
UnsupportedEncodingException
-
getNewContentHandler
ContentHandler getNewContentHandler(OutputStream os, Charset charset)
-
-