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 static int getMaxBytesForEmbeddedObject()
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 Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
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–2016 The Apache Software Foundation. All rights reserved.