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