|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.attachment.metadata.ERMetadataDirectorySet
public class ERMetadataDirectorySet
An ERMetadataDirectorySet contains generic metadata (like width/height) as well a set of metadata directories (like EXIF or IPTC).
Constructor Summary | |
---|---|
ERMetadataDirectorySet()
|
Method Summary | |
---|---|
IERMetadataDirectory |
_getDirectoryNamed(java.lang.String directoryName)
Returns the metadata directory of the given type (IERMetadataDirectory.EXIF, IERMetadataDirectory.IPTC, etc). |
void |
add(ERMetadataDirectorySet rawAssetMetadata)
Adds the given raw directory set to this directory set. |
void |
addMetadata(IERMetadataDirectory metadata)
Adds a metadata directory to this set. |
java.lang.String |
getCaption()
Returns the caption for the image. |
ERParsedMetadataDirectory |
getDirectoryNamed(java.lang.String directoryName)
Returns the metadata directory of the given type (IERMetadataDirectory.EXIF, IERMetadataDirectory.IPTC, etc) and casts to an ERParsedMetadataDirectory. |
int |
getHeight()
Returns the height of the image. |
java.util.List<IERMetadataDirectory> |
getMetadataDirectories()
Returns the metadata directories from this set. |
int |
getWidth()
Returns the width of the image. |
boolean |
isEmpty()
|
boolean |
isRotated()
Returns whether or not the image was rotated. |
protected void |
parseUnparsedDirectoriesWith(IERMetadataDirectoryParser metadataDirectoryParser)
|
protected java.util.List<IERMetadataDirectory> |
removeUnparsedDirectories()
|
protected void |
replaceUnparsedWithParsed(ERUnparsedMetadataDirectory oldMetadata,
ERParsedMetadataDirectory newMetadata)
|
void |
setCaption(java.lang.String caption)
Sets the caption for the image. |
void |
setHeight(int height)
Sets the height of the image. |
void |
setRotated(boolean rotated)
Sets whether or not the given image was rotated. |
void |
setWidth(int width)
Sets the width of the image. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ERMetadataDirectorySet()
Method Detail |
---|
public boolean isEmpty()
public void setWidth(int width)
width
- the width of the imagepublic int getWidth()
public void setHeight(int height)
height
- the height of the imagepublic int getHeight()
public void setRotated(boolean rotated)
rotated
- whether or not the given image was rotatedpublic boolean isRotated()
public java.lang.String getCaption()
public void setCaption(java.lang.String caption)
public IERMetadataDirectory _getDirectoryNamed(java.lang.String directoryName)
directoryName
- the metadata directory name
public ERParsedMetadataDirectory getDirectoryNamed(java.lang.String directoryName)
directoryName
- the metadata directory name
public void addMetadata(IERMetadataDirectory metadata)
metadata
- the metadata directory to addpublic java.util.List<IERMetadataDirectory> getMetadataDirectories()
public void add(ERMetadataDirectorySet rawAssetMetadata)
rawAssetMetadata
- a raw directory setprotected java.util.List<IERMetadataDirectory> removeUnparsedDirectories()
protected void parseUnparsedDirectoriesWith(IERMetadataDirectoryParser metadataDirectoryParser)
protected void replaceUnparsedWithParsed(ERUnparsedMetadataDirectory oldMetadata, ERParsedMetadataDirectory newMetadata)
public java.lang.String toString()
toString
in class java.lang.Object
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |