// extract metadata: first get a parser
MetadataParser parser = CFG.getParser(mimeType);
if (null == parser) {
LOG.warn("Unknown content type " + mimeType + " no metadata found, listing all tags found in file.");
MetadataParserTika mpt = new MetadataParserTika();
mpt.listMetadata(f);
} else {
PropertyMapper mapper = CFG.getPropertyMapper(mimeType);
if (null == mapper)
throw new MapperException("Unknown mime type (no configuration): " + mimeType);
String typeId = mapper.getMappedTypeId();