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(java.lang.String key)
Get a string representation of the IPTCDataSet associated with the key
|
java.util.List<IPTCDataSet> |
getDataSet(java.lang.String key)
Get a list of IPTCDataSet associated with a key
|
java.util.Map<java.lang.String,java.util.List<IPTCDataSet>> |
getDataSets()
Get all the IPTCDataSet as a map for this IPTC data
|
void |
read() |
static void |
showIPTC(byte[] data) |
static void |
showIPTC(java.io.InputStream is) |
void |
showMetadata() |
void |
write(java.io.OutputStream os)
Writes the metadata out to the output stream
|
ensureDataRead, 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(java.lang.String key)
key
- the name for the IPTCDataSetpublic java.util.List<IPTCDataSet> getDataSet(java.lang.String key)
key
- name of the data setpublic java.util.Map<java.lang.String,java.util.List<IPTCDataSet>> getDataSets()
public void read() throws java.io.IOException
java.io.IOException
public void showMetadata()
showMetadata
in interface MetadataReader
showMetadata
in class Metadata