Class IptcParser
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.jpeg.iptc.IptcParser
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a new instance with the default, big-endian, byte order.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisPhotoshopJpegSegment(byte[] segmentData) parseAllBlocks(byte[] bytes, boolean strict) protected List<IptcRecord> parseIptcBlock(byte[] bytes) parsePhotoshopSegment(byte[] bytes, boolean strict) parsePhotoshopSegment(byte[] bytes, ImagingParameters<JpegImagingParameters> params) byte[]writeIptcBlock(List<IptcRecord> elements) byte[]writeIptcBlock(List<IptcRecord> elements, boolean forceUtf8Encoding) byte[]Methods inherited from class org.apache.commons.imaging.common.BinaryFileParserdebugNumber, debugNumber, getByteOrder, setByteOrder
- 
Constructor Details- 
IptcParserpublic IptcParser()Constructs a new instance with the default, big-endian, byte order.
 
- 
- 
Method Details- 
isPhotoshopJpegSegment
- 
parseAllBlocksprotected List<IptcBlock> parseAllBlocks(byte[] bytes, boolean strict) throws ImagingException, IOException - Throws:
- ImagingException
- IOException
 
- 
parseIptcBlock
- 
parsePhotoshopSegmentpublic PhotoshopApp13Data parsePhotoshopSegment(byte[] bytes, boolean strict) throws ImagingException, IOException - Throws:
- ImagingException
- IOException
 
- 
parsePhotoshopSegmentpublic PhotoshopApp13Data parsePhotoshopSegment(byte[] bytes, ImagingParameters<JpegImagingParameters> params) throws ImagingException, IOException - Throws:
- ImagingException
- IOException
 
- 
writeIptcBlock- Throws:
- ImagingException
- IOException
 
- 
writeIptcBlockpublic byte[] writeIptcBlock(List<IptcRecord> elements, boolean forceUtf8Encoding) throws ImagingException, IOException - Throws:
- ImagingException
- IOException
 
- 
writePhotoshopApp13Segmentpublic byte[] writePhotoshopApp13Segment(PhotoshopApp13Data data) throws IOException, ImagingException - Throws:
- IOException
- ImagingException
 
 
-