abstract class AbstractAsfTagImageField extends AsfTagField
AbstractAsfTagImageField
is an abstract class for representing tag
fields containing image data.toWrap
Constructor and Description |
---|
AbstractAsfTagImageField(AsfFieldKey field)
Creates a image tag field.
|
AbstractAsfTagImageField(MetadataDescriptor source)
Creates an instance.
|
AbstractAsfTagImageField(java.lang.String fieldKey)
Creates a tag field.
|
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
getImage()
This method returns an image instance from the
image content.
|
abstract int |
getImageDataSize()
Returns the size of the image data.
|
abstract byte[] |
getRawImageData()
Returns the raw data of the represented image.
|
clone, copyContent, getDescriptor, getId, getRawContent, isBinary, isBinary, isCommon, isEmpty, toString
public AbstractAsfTagImageField(AsfFieldKey field)
field
- the ASF field that should be represented.public AbstractAsfTagImageField(MetadataDescriptor source)
source
- The descriptor which should be represented as a
TagField
.public AbstractAsfTagImageField(java.lang.String fieldKey)
fieldKey
- The field identifier to use.public java.awt.image.BufferedImage getImage() throws java.io.IOException
java.io.IOException
public abstract int getImageDataSize()
public abstract byte[] getRawImageData()
Copyright © 2005-2013 java.net. All Rights Reserved.