public class MP3MetadataExtracter extends TikaAudioMetadataExtracter
songTitle: -- cm:title albumTitle: -- audio:album artist: -- audio:artist, cm:author description: -- cm:description comment: -- yearReleased: -- audio:releaseDate trackNumber: -- audio:trackNumber genre: -- audio:genre composer: -- audio:composer lyrics: --Note - XMPDM metadata keys are also emitted, in common with the other Tika powered extracters Uses Apache Tika
TikaPoweredMetadataExtracter.HeadContentHandler, TikaPoweredMetadataExtracter.MapCaptureContentHandler, TikaPoweredMetadataExtracter.NullContentHandler
MetadataExtracter.OverwritePolicy
Modifier and Type | Field and Description |
---|---|
static ArrayList<String> |
SUPPORTED_MIMETYPES |
KEY_LYRICS, tikaConfig
documentSelector, KEY_AUTHOR, KEY_COMMENTS, KEY_CREATED, KEY_DESCRIPTION, KEY_SUBJECT, KEY_TAGS, KEY_TITLE, logger
MEGABYTE_SIZE, metadataExtracterConfig, NAMESPACE_PROPERTY_PREFIX, PROPERTY_COMPONENT_EMBED, PROPERTY_COMPONENT_EXTRACT, PROPERTY_PREFIX_METADATA
Constructor and Description |
---|
MP3MetadataExtracter() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Serializable> |
extractSpecific(org.apache.tika.metadata.Metadata metadata,
Map<String,Serializable> properties,
Map<String,String> headers)
Allows implementation specific mappings to be done.
|
protected org.apache.tika.parser.Parser |
getParser()
Returns the correct Tika Parser to process the document.
|
setTikaConfig
buildParseContext, buildSupportedMimetypes, embedInternal, extractRaw, extractSize, getDocumentSelector, getEmbedder, getExtractorContext, getInputStream, getMetadataSeparator, makeDate, needHeaderContents, setDocumentSelector, setMetadataSeparator
checkIsEmbedSupported, checkIsSupported, embed, extract, extract, extract, filterSystemProperties, getBeanName, getDefaultEmbedMapping, getDefaultMapping, getEmbedMapping, getExecutorService, getLimits, getMapping, getMimetypeService, init, isEmbeddingSupported, isSupported, newRawMap, putRawValue, readEmbedMappingProperties, readEmbedMappingProperties, readGlobalEmbedMappingProperties, readGlobalExtractMappingProperties, readMappingProperties, readMappingProperties, register, setApplicationContext, setBeanName, setDictionaryService, setEmbedMapping, setEmbedMappingProperties, setEnableStringTagging, setExecutorService, setFailOnTypeConversion, setInheritDefaultEmbedMapping, setInheritDefaultMapping, setMapping, setMappingProperties, setMetadataExtracterConfig, setMimetypeLimits, setMimetypeService, setOverwritePolicy, setProperties, setRegistry, setSupportedDateFormats, setSupportedEmbedMimetypes, setSupportedMimetypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
embed, isEmbeddingSupported
protected org.apache.tika.parser.Parser getParser()
TikaPoweredMetadataExtracter
TikaAutoMetadataExtracter
which makes use of the Tika auto-detection.getParser
in class TikaAudioMetadataExtracter
protected Map<String,Serializable> extractSpecific(org.apache.tika.metadata.Metadata metadata, Map<String,Serializable> properties, Map<String,String> headers)
TikaPoweredMetadataExtracter
extractSpecific
in class TikaAudioMetadataExtracter
Copyright © 2005–2017 Alfresco Software. All rights reserved.