public class AsfTagCoverField extends AsfTagField
Modifier and Type | Field and Description |
---|---|
static Logger |
LOGGER
Logger Object
|
toWrap
Constructor and Description |
---|
AsfTagCoverField(byte[] imageData,
int pictureType,
String description,
String mimeType)
Create New Image Field
|
AsfTagCoverField(MetadataDescriptor source)
Creates an instance from a metadata descriptor
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
BufferedImage |
getImage()
This method returns an image instance from the
image content.
|
int |
getImageDataSize()
Returns the size of the image data.
|
String |
getMimeType() |
int |
getPictureType() |
byte[] |
getRawImageData()
Returns the raw data of the represented image.
|
clone, copyContent, getDescriptor, getId, getRawContent, isBinary, isBinary, isCommon, isEmpty, toString
public static final Logger LOGGER
public AsfTagCoverField(byte[] imageData, int pictureType, String description, String mimeType)
imageData
- pictureType
- description
- mimeType
- public AsfTagCoverField(MetadataDescriptor source)
source
- The metadata descriptor, whose content is published.public String getDescription()
public int getImageDataSize()
public String getMimeType()
public int getPictureType()
public byte[] getRawImageData()
public BufferedImage getImage() throws IOException
IOException
Copyright © 2005–2020 jthink.net. All rights reserved.