org.apache.tika.parser.external
Class ExternalParsersFactory

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

public class ExternalParsersFactory
extends Object

Creates instances of ExternalParser based on XML configuration files.

See Also:
ExternalParsersConfigReader

Constructor Summary
ExternalParsersFactory()
           
 
Method Summary
static void attachExternalParsers(List<ExternalParser> parsers, TikaConfig config)
           
static void attachExternalParsers(TikaConfig config)
           
static List<ExternalParser> create()
           
static List<ExternalParser> create(ServiceLoader loader)
           
static List<ExternalParser> create(String filename, ServiceLoader loader)
           
static List<ExternalParser> create(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 List<ExternalParser> create()
                                   throws IOException,
                                          TikaException
Throws:
IOException
TikaException

create

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

create

public static List<ExternalParser> create(String filename,
                                          ServiceLoader loader)
                                   throws IOException,
                                          TikaException
Throws:
IOException
TikaException

create

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

attachExternalParsers

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

attachExternalParsers

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


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