public class IPTC extends Metadata
data, IMAGE_MAGIC_NUMBER_LEN, isDataRead
Modifier and Type | Method and Description |
---|---|
void |
addDataSet(IPTCDataSet dataSet) |
void |
addDataSets(java.util.Collection<? extends IPTCDataSet> dataSets) |
java.lang.String |
getAsString(IPTCTag key)
Get a string representation of the IPTCDataSet associated with the key
|
java.util.List<IPTCDataSet> |
getDataSet(IPTCTag key)
Get a list of IPTCDataSet associated with a key
|
java.util.Map<IPTCTag,java.util.List<IPTCDataSet>> |
getDataSets()
Get all the IPTCDataSet as a map for this IPTC data
|
java.util.Iterator<MetadataEntry> |
iterator() |
void |
read() |
static void |
showIPTC(byte[] data) |
static void |
showIPTC(java.io.InputStream is) |
void |
write(java.io.OutputStream os)
Writes the metadata out to the output stream
|
ensureDataRead, extractThumbnail, extractThumbnail, extractThumbnails, extractThumbnails, extractThumbnails, extractThumbnails, extractThumbnails, getData, getType, insertComment, insertComments, insertExif, insertExif, insertICCProfile, insertICCProfile, insertIPTC, insertIPTC, insertIRB, insertIRB, insertIRBThumbnail, insertMetadata, insertXMP, insertXMP, isDataRead, readMetadata, readMetadata, readMetadata, removeMetadata
public static void showIPTC(byte[] data)
public static void showIPTC(java.io.InputStream is)
public void addDataSet(IPTCDataSet dataSet)
public void addDataSets(java.util.Collection<? extends IPTCDataSet> dataSets)
public java.lang.String getAsString(IPTCTag key)
key
- the IPTCTag for the IPTCDataSetpublic java.util.List<IPTCDataSet> getDataSet(IPTCTag key)
key
- IPTCTag of the DataSetpublic java.util.Map<IPTCTag,java.util.List<IPTCDataSet>> getDataSets()
public java.util.Iterator<MetadataEntry> iterator()
iterator
in interface java.lang.Iterable<MetadataEntry>
iterator
in class Metadata
public void read() throws java.io.IOException
java.io.IOException