public class RTFParser
extends org.apache.tika.parser.AbstractParser
| Constructor and Description |
|---|
RTFParser() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getMaxBytesForEmbeddedObject()
Deprecated.
|
int |
getMemoryLimitInKb() |
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)
Deprecated.
use
setMemoryLimitInKb(int) instead |
void |
setMemoryLimitInKb(int memoryLimitInKb) |
@Deprecated public static int getMaxBytesForEmbeddedObject()
@Deprecated public static void setMaxBytesForEmbeddedObject(int max)
setMemoryLimitInKb(int) insteadmax - 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.TikaExceptionpublic int getMemoryLimitInKb()
@Field public void setMemoryLimitInKb(int memoryLimitInKb)
Copyright © 2007–2024 The Apache Software Foundation. All rights reserved.