public class RTFParser
extends org.apache.tika.parser.AbstractParser
| Constructor and Description |
|---|
RTFParser() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getMaxBytesForEmbeddedObject()
|
Set<org.apache.tika.mime.MediaType> |
getSupportedTypes(org.apache.tika.parser.ParseContext context) |
void |
parse(InputStream stream,
ContentHandler handler,
org.apache.tika.metadata.Metadata metadata,
org.apache.tika.parser.ParseContext context) |
static void |
setMaxBytesForEmbeddedObject(int max)
Bytes for embedded objects are currently cached in memory.
|
public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
public static void setMaxBytesForEmbeddedObject(int max)
max - maximum number of bytes to allow for embedded objects. If
the embedded object has more than this number of bytes, skip it.public static int getMaxBytesForEmbeddedObject()
public void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context) throws IOException, SAXException, org.apache.tika.exception.TikaException
IOExceptionSAXExceptionorg.apache.tika.exception.TikaExceptionCopyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.