public class IptcParser extends BinaryFileParser
Constructor and Description |
---|
IptcParser() |
Modifier and Type | Method and Description |
---|---|
boolean |
isPhotoshopJpegSegment(byte[] segmentData) |
protected List<IptcBlock> |
parseAllBlocks(byte[] bytes,
boolean strict) |
protected List<IptcRecord> |
parseIPTCBlock(byte[] bytes) |
PhotoshopApp13Data |
parsePhotoshopSegment(byte[] bytes,
boolean strict) |
PhotoshopApp13Data |
parsePhotoshopSegment(byte[] bytes,
Map<String,Object> params) |
byte[] |
writeIPTCBlock(List<IptcRecord> elements) |
byte[] |
writePhotoshopApp13Segment(PhotoshopApp13Data data) |
debugNumber, debugNumber, getByteOrder, setByteOrder
public boolean isPhotoshopJpegSegment(byte[] segmentData)
public PhotoshopApp13Data parsePhotoshopSegment(byte[] bytes, Map<String,Object> params) throws ImageReadException, IOException
ImageReadException
IOException
public PhotoshopApp13Data parsePhotoshopSegment(byte[] bytes, boolean strict) throws ImageReadException, IOException
ImageReadException
IOException
protected List<IptcRecord> parseIPTCBlock(byte[] bytes) throws IOException
IOException
protected List<IptcBlock> parseAllBlocks(byte[] bytes, boolean strict) throws ImageReadException, IOException
ImageReadException
IOException
public byte[] writePhotoshopApp13Segment(PhotoshopApp13Data data) throws IOException, ImageWriteException
IOException
ImageWriteException
public byte[] writeIPTCBlock(List<IptcRecord> elements) throws ImageWriteException, IOException
ImageWriteException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.