org.alfresco.repo.content.metadata
Class DWGMetadataExtracter
java.lang.Object
org.alfresco.repo.content.metadata.AbstractMappingMetadataExtracter
org.alfresco.repo.content.metadata.TikaPoweredMetadataExtracter
org.alfresco.repo.content.metadata.DWGMetadataExtracter
- All Implemented Interfaces:
- ContentWorker, MetadataExtracter
public class DWGMetadataExtracter
- extends TikaPoweredMetadataExtracter
Metadata extractor for the
MIMETYPE_DWG
mimetype.
title: -- cm:title
description: -- cm:description
author: -- cm:author
keywords:
comments:
lastauthor:
Uses Apache Tika
Method Summary |
protected java.util.Map |
extractSpecific(org.apache.tika.metadata.Metadata metadata,
java.util.Map properties,
java.util.Map headers)
Allows implementation specific mappings
to be done. |
protected org.apache.tika.parser.Parser |
getParser()
Returns the correct Tika Parser to process
the document. |
Methods inherited from class org.alfresco.repo.content.metadata.AbstractMappingMetadataExtracter |
checkIsSupported, extract, extract, extract, filterSystemProperties, getDefaultMapping, getExtractionTime, getMapping, getMimetypeService, getReliability, init, isSupported, newRawMap, putRawValue, readMappingProperties, readMappingProperties, register, setDictionaryService, setFailOnTypeConversion, setInheritDefaultMapping, setMapping, setMappingProperties, setMimetypeService, setOverwritePolicy, setOverwritePolicy, setRegistry, setSupportedDateFormats, setSupportedMimetypes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUPPORTED_MIMETYPES
public static java.util.ArrayList SUPPORTED_MIMETYPES
DWGMetadataExtracter
public DWGMetadataExtracter()
extractSpecific
protected java.util.Map extractSpecific(org.apache.tika.metadata.Metadata metadata,
java.util.Map properties,
java.util.Map headers)
- Description copied from class:
TikaPoweredMetadataExtracter
- Allows implementation specific mappings
to be done.
- Overrides:
extractSpecific
in class TikaPoweredMetadataExtracter
getParser
protected org.apache.tika.parser.Parser getParser()
- Description copied from class:
TikaPoweredMetadataExtracter
- Returns the correct Tika Parser to process
the document.
If you don't know which you want, use
TikaAutoMetadataExtracter
which
makes use of the Tika auto-detection.
- Specified by:
getParser
in class TikaPoweredMetadataExtracter
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.