Class UnknownSegment

java.lang.Object
pixy.image.jpeg.Segment
pixy.image.jpeg.UnknownSegment

public class UnknownSegment
extends Segment
Special segment to handle JPEG Marker.UNKNOWN.
Version:
1.0 05/22/2013
Author:
Wen Yu, yuwen_66@yahoo.com
  • Constructor Summary

    Constructors 
    Constructor Description
    UnknownSegment​(short markerValue, int length, byte[] data)  
  • Method Summary

    Modifier and Type Method Description
    short getMarkerValue()  
    java.lang.String toString()  
    void write​(java.io.OutputStream os)  

    Methods inherited from class pixy.image.jpeg.Segment

    getData, getLength, getMarker

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UnknownSegment

      public UnknownSegment​(short markerValue, int length, byte[] data)
  • Method Details

    • getMarkerValue

      public short getMarkerValue()
    • write

      public void write​(java.io.OutputStream os) throws java.io.IOException
      Overrides:
      write in class Segment
      Throws:
      java.io.IOException
    • toString

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