Class Frame


  • final class Frame
    extends Segment
    Frame
    Version:
    $Id: SOFSegment.java,v 1.0 22.04.13 16:40 haraldk Exp$
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Frame.Component  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Frame​(int marker, int samplePrecision, int lines, int samplesPerLine, Frame.Component[] components)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) int componentsInFrame()  
      (package private) Frame.Component getComponent​(int id)  
      (package private) int process()  
      (package private) static Frame read​(int marker, java.io.DataInput data, int length)  
      (package private) static Frame read​(int marker, javax.imageio.stream.ImageInputStream data)  
      java.lang.String toString()  
      • Methods inherited from class com.twelvemonkeys.imageio.plugins.jpeg.Segment

        read
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • samplePrecision

        final int samplePrecision
      • lines

        final int lines
      • samplesPerLine

        final int samplesPerLine
    • Constructor Detail

      • Frame

        private Frame​(int marker,
                      int samplePrecision,
                      int lines,
                      int samplesPerLine,
                      Frame.Component[] components)
    • Method Detail

      • process

        int process()
      • componentsInFrame

        int componentsInFrame()
      • toString

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

        static Frame read​(int marker,
                          java.io.DataInput data,
                          int length)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        static Frame read​(int marker,
                          javax.imageio.stream.ImageInputStream data)
                   throws java.io.IOException
        Throws:
        java.io.IOException