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, setByteOrderpublic boolean isPhotoshopJpegSegment(byte[] segmentData)
public PhotoshopApp13Data parsePhotoshopSegment(byte[] bytes, Map<String,Object> params) throws ImageReadException, IOException
ImageReadExceptionIOExceptionpublic PhotoshopApp13Data parsePhotoshopSegment(byte[] bytes, boolean strict) throws ImageReadException, IOException
ImageReadExceptionIOExceptionprotected List<IptcRecord> parseIPTCBlock(byte[] bytes) throws IOException
IOExceptionprotected List<IptcBlock> parseAllBlocks(byte[] bytes, boolean strict) throws ImageReadException, IOException
ImageReadExceptionIOExceptionpublic byte[] writePhotoshopApp13Segment(PhotoshopApp13Data data) throws IOException, ImageWriteException
IOExceptionImageWriteExceptionpublic byte[] writeIPTCBlock(List<IptcRecord> elements) throws ImageWriteException, IOException
ImageWriteExceptionIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.