public class TikaConfigSerializer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TikaConfigSerializer.Mode |
| Constructor and Description |
|---|
TikaConfigSerializer() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
addDetectors(TikaConfigSerializer.Mode mode,
org.w3c.dom.Element rootElement,
org.w3c.dom.Document doc,
TikaConfig config) |
private static void |
addEncodingDetectors(TikaConfigSerializer.Mode mode,
org.w3c.dom.Element rootElement,
org.w3c.dom.Document doc,
TikaConfig config) |
private static void |
addExecutorService(TikaConfigSerializer.Mode mode,
org.w3c.dom.Element rootElement,
org.w3c.dom.Document doc,
TikaConfig config) |
private static void |
addMimeComment(TikaConfigSerializer.Mode mode,
org.w3c.dom.Element rootElement,
org.w3c.dom.Document doc) |
private static void |
addParser(TikaConfigSerializer.Mode mode,
org.w3c.dom.Element rootElement,
org.w3c.dom.Document doc,
Parser parser) |
private static org.w3c.dom.Element |
addParser(TikaConfigSerializer.Mode mode,
org.w3c.dom.Element rootElement,
org.w3c.dom.Document doc,
Parser parser,
ParserDecorator decorator) |
private static void |
addParsers(TikaConfigSerializer.Mode mode,
org.w3c.dom.Element rootElement,
org.w3c.dom.Document doc,
TikaConfig config) |
private static void |
addServiceLoader(TikaConfigSerializer.Mode mode,
org.w3c.dom.Element rootElement,
org.w3c.dom.Document doc,
TikaConfig config) |
private static void |
addTranslator(TikaConfigSerializer.Mode mode,
org.w3c.dom.Element rootElement,
org.w3c.dom.Document doc,
TikaConfig config) |
static void |
serialize(TikaConfig config,
TikaConfigSerializer.Mode mode,
java.io.Writer writer,
java.nio.charset.Charset charset) |
public static void serialize(TikaConfig config, TikaConfigSerializer.Mode mode, java.io.Writer writer, java.nio.charset.Charset charset) throws java.lang.Exception
config - config to serializemode - serialization modewriter - writercharset - charsetjava.lang.Exceptionprivate static void addExecutorService(TikaConfigSerializer.Mode mode, org.w3c.dom.Element rootElement, org.w3c.dom.Document doc, TikaConfig config)
private static void addServiceLoader(TikaConfigSerializer.Mode mode, org.w3c.dom.Element rootElement, org.w3c.dom.Document doc, TikaConfig config)
private static void addTranslator(TikaConfigSerializer.Mode mode, org.w3c.dom.Element rootElement, org.w3c.dom.Document doc, TikaConfig config)
private static void addMimeComment(TikaConfigSerializer.Mode mode, org.w3c.dom.Element rootElement, org.w3c.dom.Document doc)
private static void addEncodingDetectors(TikaConfigSerializer.Mode mode, org.w3c.dom.Element rootElement, org.w3c.dom.Document doc, TikaConfig config) throws java.lang.Exception
java.lang.Exceptionprivate static void addDetectors(TikaConfigSerializer.Mode mode, org.w3c.dom.Element rootElement, org.w3c.dom.Document doc, TikaConfig config) throws java.lang.Exception
java.lang.Exceptionprivate static void addParsers(TikaConfigSerializer.Mode mode, org.w3c.dom.Element rootElement, org.w3c.dom.Document doc, TikaConfig config) throws java.lang.Exception
java.lang.Exceptionprivate static void addParser(TikaConfigSerializer.Mode mode, org.w3c.dom.Element rootElement, org.w3c.dom.Document doc, Parser parser) throws java.lang.Exception
java.lang.Exceptionprivate static org.w3c.dom.Element addParser(TikaConfigSerializer.Mode mode, org.w3c.dom.Element rootElement, org.w3c.dom.Document doc, Parser parser, ParserDecorator decorator) throws java.lang.Exception
java.lang.Exception