org.apache.sanselan.formats.jpeg.xmp
Class JpegRewriter.JFIFPieceSegment

java.lang.Object
  extended by org.apache.sanselan.formats.jpeg.xmp.JpegRewriter.JFIFPiece
      extended by org.apache.sanselan.formats.jpeg.xmp.JpegRewriter.JFIFPieceSegment
Enclosing class:
JpegRewriter

protected static class JpegRewriter.JFIFPieceSegment
extends JpegRewriter.JFIFPiece


Field Summary
 int marker
           
 byte[] markerBytes
           
 byte[] segmentData
           
 byte[] segmentLengthBytes
           
 
Constructor Summary
JpegRewriter.JFIFPieceSegment(int marker, byte[] segmentData)
           
JpegRewriter.JFIFPieceSegment(int marker, byte[] markerBytes, byte[] segmentLengthBytes, byte[] segmentData)
           
 
Method Summary
 boolean isApp1Segment()
           
 boolean isAppSegment()
           
 boolean isExifSegment()
           
 boolean isPhotoshopApp13Segment()
           
 boolean isXmpSegment()
           
 java.lang.String toString()
           
protected  void write(java.io.OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

marker

public final int marker

markerBytes

public final byte[] markerBytes

segmentLengthBytes

public final byte[] segmentLengthBytes

segmentData

public final byte[] segmentData
Constructor Detail

JpegRewriter.JFIFPieceSegment

public JpegRewriter.JFIFPieceSegment(int marker,
                                     byte[] segmentData)

JpegRewriter.JFIFPieceSegment

public JpegRewriter.JFIFPieceSegment(int marker,
                                     byte[] markerBytes,
                                     byte[] segmentLengthBytes,
                                     byte[] segmentData)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class JpegRewriter.JFIFPiece

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()


Copyright © 2007-2009. All Rights Reserved.