org.apache.tika.parser.external
Class ExternalParsersFactory

java.lang.Object
  extended by org.apache.tika.parser.external.ExternalParsersFactory

public class ExternalParsersFactory
extends java.lang.Object

Creates instances of ExternalParser based on XML configuration files.

See Also:
ExternalParsersConfigReader

Constructor Summary
ExternalParsersFactory()
           
 
Method Summary
static void attachExternalParsers(java.util.List<ExternalParser> parsers, TikaConfig config)
           
static void attachExternalParsers(TikaConfig config)
           
static java.util.List<ExternalParser> create()
           
static java.util.List<ExternalParser> create(ServiceLoader loader)
           
static java.util.List<ExternalParser> create(java.lang.String filename, ServiceLoader loader)
           
static java.util.List<ExternalParser> create(java.net.URL... urls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalParsersFactory

public ExternalParsersFactory()
Method Detail

create

public static java.util.List<ExternalParser> create()
                                             throws java.io.IOException,
                                                    TikaException
Throws:
java.io.IOException
TikaException

create

public static java.util.List<ExternalParser> create(ServiceLoader loader)
                                             throws java.io.IOException,
                                                    TikaException
Throws:
java.io.IOException
TikaException

create

public static java.util.List<ExternalParser> create(java.lang.String filename,
                                                    ServiceLoader loader)
                                             throws java.io.IOException,
                                                    TikaException
Throws:
java.io.IOException
TikaException

create

public static java.util.List<ExternalParser> create(java.net.URL... urls)
                                             throws java.io.IOException,
                                                    TikaException
Throws:
java.io.IOException
TikaException

attachExternalParsers

public static void attachExternalParsers(TikaConfig config)
                                  throws java.io.IOException,
                                         TikaException
Throws:
java.io.IOException
TikaException

attachExternalParsers

public static void attachExternalParsers(java.util.List<ExternalParser> parsers,
                                         TikaConfig config)


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.