Class Segment

java.lang.Object
pixy.image.jpeg.Segment
Direct Known Subclasses:
UnknownSegment

public class Segment
extends java.lang.Object
JPEG segment.
Version:
1.0 05/21/2013
Author:
Wen Yu, yuwen_66@yahoo.com
  • Constructor Summary

    Constructors 
    Constructor Description
    Segment​(Marker marker, int length, byte[] data)  
  • Method Summary

    Modifier and Type Method Description
    byte[] getData()  
    int getLength()  
    Marker getMarker()  
    java.lang.String toString()  
    void write​(java.io.OutputStream os)  

    Methods inherited from class java.lang.Object

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

    • Segment

      public Segment​(Marker marker, int length, byte[] data)
  • Method Details

    • getMarker

      public Marker getMarker()
    • getLength

      public int getLength()
    • getData

      public byte[] getData()
    • write

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

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