hi-
i'm using the AutoDetectParser to extract metadata and content from a file.
is there a way to turn off content extraction, but keep metadata extraction on?
===
parser = new AutoDetectParser();
final FileInputStream input = new FileInputStream(file);
final StringWriter writer = new StringWriter();
final ContentHandler handler = new BodyContentHandler(writer);
final Metadata metadata = new Metadata();
metadata.set(Metadata.RESOURCE_NAME_KEY, file.getName());
final ParseContext context = new ParseContext();
parser.parse(input, handler, metadata, context);
===
thanks,
augusto.