public class ExtractedMetadata
extends java.lang.Object
ExtractedMetadata
class ...Constructor and Description |
---|
ExtractedMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
addMetadataProperties(java.util.Map props)
Add a map of additional metadata properties
|
void |
addTemporaryFileForCleanup(java.io.File tmpFile)
Add temp file which is used in the metadata extraction method.
|
void |
cleanup()
Deletes all used temp files
|
java.util.Map |
getMetaDataProperties()
Returns the metadata properties
|
java.lang.Object |
getMetaDataProperty(java.lang.String key)
Returns the metadata object defined by its key
|
java.lang.Object |
getProperty(java.lang.String name)
Get property
|
java.io.InputStream |
getXmp()
Get xmp data
|
void |
setMetaDataProperty(java.lang.String key,
java.lang.Object value)
Set meta data
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Set property
|
void |
setXmp(java.io.InputStream xmp)
Set the xmp data
|
public java.util.Map getMetaDataProperties()
public java.lang.Object getMetaDataProperty(java.lang.String key)
key
- metadata property keypublic void setMetaDataProperty(java.lang.String key, java.lang.Object value)
key
- the metadata property keyvalue
- the corresponding valuepublic void addMetadataProperties(java.util.Map props)
props
- map of propertiespublic void setXmp(java.io.InputStream xmp)
xmp
- xmp datapublic java.io.InputStream getXmp()
public void addTemporaryFileForCleanup(java.io.File tmpFile)
tmpFile
- temp filepublic void cleanup()
public void setProperty(java.lang.String name, java.lang.Object value)
name
- property namevalue
- property valuepublic java.lang.Object getProperty(java.lang.String name)
name
- property name"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"