Class JpegRewriter.JFIFPieceSegment
- java.lang.Object
-
- org.apache.commons.imaging.formats.jpeg.xmp.JpegRewriter.JFIFPiece
-
- org.apache.commons.imaging.formats.jpeg.xmp.JpegRewriter.JFIFPieceSegment
-
- Enclosing class:
- JpegRewriter
protected static class JpegRewriter.JFIFPieceSegment extends JpegRewriter.JFIFPiece
-
-
Field Summary
Fields Modifier and Type Field Description int
marker
private byte[]
markerBytes
private byte[]
segmentData
private byte[]
segmentLengthBytes
-
Constructor Summary
Constructors Constructor Description JFIFPieceSegment(int marker, byte[] segmentData)
JFIFPieceSegment(int marker, byte[] markerBytes, byte[] segmentLengthBytes, byte[] segmentData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getSegmentData()
boolean
isApp1Segment()
boolean
isAppSegment()
boolean
isExifSegment()
boolean
isPhotoshopApp13Segment()
boolean
isXmpSegment()
java.lang.String
toString()
protected void
write(java.io.OutputStream os)
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classJpegRewriter.JFIFPiece
-
write
protected void write(java.io.OutputStream os) throws java.io.IOException
- Specified by:
write
in classJpegRewriter.JFIFPiece
- Throws:
java.io.IOException
-
isApp1Segment
public boolean isApp1Segment()
-
isAppSegment
public boolean isAppSegment()
-
isExifSegment
public boolean isExifSegment()
-
isPhotoshopApp13Segment
public boolean isPhotoshopApp13Segment()
-
isXmpSegment
public boolean isXmpSegment()
-
getSegmentData
public byte[] getSegmentData()
-
-