Class JpegRewriter.JFIFPieceSegment

    • Field Detail

      • marker

        public final int marker
      • markerBytes

        private final byte[] markerBytes
      • segmentLengthBytes

        private final byte[] segmentLengthBytes
      • segmentData

        private final byte[] segmentData
    • Constructor Detail

      • JFIFPieceSegment

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

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

      • write

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