use of org.apache.tika.detect.TypeDetector in project tika by apache.
the class MboxParserTest method setUp.
@Before
public void setUp() throws Exception {
typeDetector = new TypeDetector();
autoDetectParser = new AutoDetectParser(typeDetector);
recursingContext = new ParseContext();
recursingContext.set(Parser.class, autoDetectParser);
mboxParser = new MboxParser();
mboxParser.setTracking(true);
}
Aggregations