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 Details

    • marker

      public final int marker
    • markerBytes

      private final byte[] markerBytes
    • segmentLengthBytes

      private final byte[] segmentLengthBytes
    • segmentData

      private final byte[] segmentData
  • Constructor Details

    • JFIFPieceSegment

      public JFIFPieceSegment(int marker, byte[] segmentData)
    • JFIFPieceSegment

      JFIFPieceSegment(int marker, byte[] markerBytes, byte[] segmentLengthBytes, byte[] segmentData)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class JpegRewriter.JFIFPiece
    • write

      protected void write(OutputStream os) throws IOException
      Specified by:
      write in class JpegRewriter.JFIFPiece
      Throws:
      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()