public class ERMetadataDirectorySet extends Object
Constructor and Description |
---|
ERMetadataDirectorySet() |
Modifier and Type | Method and Description |
---|---|
IERMetadataDirectory |
_getDirectoryNamed(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.
|
String |
getCaption()
Returns the caption for the image.
|
ERParsedMetadataDirectory |
getDirectoryNamed(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.
|
List<IERMetadataDirectory> |
getMetadataDirectories()
Returns the metadata directories from this set.
|
int |
getWidth()
Returns the width of the image.
|
boolean |
isEmpty()
Empty かどうかをチェックします。
|
boolean |
isRotated()
Returns whether or not the image was rotated.
|
protected void |
parseUnparsedDirectoriesWith(IERMetadataDirectoryParser metadataDirectoryParser) |
protected List<IERMetadataDirectory> |
removeUnparsedDirectories() |
protected void |
replaceUnparsedWithParsed(ERUnparsedMetadataDirectory oldMetadata,
ERParsedMetadataDirectory newMetadata) |
void |
setCaption(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.
|
String |
toString() |
public boolean isEmpty()
public void setWidth(int width)
width
- the width of the image
イメージ幅をセットします。width
- - イメージ幅
public int getWidth()
public void setHeight(int height)
height
- the height of the image
イメージ高をセットします。height
- - イメージ高
public int getHeight()
public void setRotated(boolean rotated)
rotated
- whether or not the given image was rotated
イメージが回転されている場合には true をセットします。rotated
- - イメージが回転されている場合には true をセット
public boolean isRotated()
public String getCaption()
public void setCaption(String caption)
caption
-
イメージのキャプションをセットします。caption
- - イメージのキャプション
public IERMetadataDirectory _getDirectoryNamed(String directoryName)
directoryName
- the metadata directory namedirectoryName
- - メタデータ・ディレクトリ名public ERParsedMetadataDirectory getDirectoryNamed(String directoryName)
directoryName
- the metadata directory namedirectoryName
- - メタデータ・ディレクトリ名public void addMetadata(IERMetadataDirectory metadata)
metadata
- the metadata directory to addpublic List<IERMetadataDirectory> getMetadataDirectories()
public void add(ERMetadataDirectorySet rawAssetMetadata)
rawAssetMetadata
- a raw directory set
指定の raw ディレクトリをディクショナリーセットに追加します。rawAssetMetadata
- - raw ディクショナリーセット
protected List<IERMetadataDirectory> removeUnparsedDirectories()
protected void parseUnparsedDirectoriesWith(IERMetadataDirectoryParser metadataDirectoryParser)
protected void replaceUnparsedWithParsed(ERUnparsedMetadataDirectory oldMetadata, ERParsedMetadataDirectory newMetadata)
Copyright © 2002 – 2020 Project Wonder.