metadata.set(Metadata.CONTENT_TYPE, "application/java-archive");
metadata.set(Metadata.CONTENT_ENCODING, "UTF-8");
Parser p = getSearchIndex().getParser();
ParsingTask task = new ParsingTask(p, val, metadata, Integer.MAX_VALUE) {
public void setExtractedText(String value) {
assertEquals("", value);
}
};
task.run();
}