io.quarkus.tika.TikaParser Java Examples

The following examples show how to use io.quarkus.tika.TikaParser. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TikaRecorder.java    From quarkus with Apache License 2.0 4 votes vote down vote up
public void initTikaParser(BeanContainer container, TikaConfiguration config, String tikaXmlConfiguration) {
    TikaParser parser = initializeParser(config, tikaXmlConfiguration);
    TikaParserProducer producer = container.instance(TikaParserProducer.class);
    producer.initialize(parser);
}
 
Example #2
Source File: TikaParserProducer.java    From quarkus with Apache License 2.0 4 votes vote down vote up
void initialize(TikaParser parser) {
    this.parser = parser;
}
 
Example #3
Source File: TikaParserProducer.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Singleton
@Produces
public TikaParser tikaParser() {
    return parser;
}