io.quarkus.tika.runtime.TikaParserProducer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-tika Show documentation
Show all versions of quarkus-tika Show documentation
Extract data from your documents with Apache Tika
package io.quarkus.tika.runtime;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Produces;
import javax.inject.Singleton;
import io.quarkus.tika.TikaParser;
@ApplicationScoped
public class TikaParserProducer {
private volatile TikaParser parser;
void initialize(TikaParser parser) {
this.parser = parser;
}
@Singleton
@Produces
public TikaParser tikaParser() {
return parser;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy