Home » openjdk-7 » javax.imageio.plugins » jpeg » [javadoc | source]
javax.imageio.plugins.jpeg
public class: JPEGHuffmanTable [javadoc | source]
java.lang.Object
   javax.imageio.plugins.jpeg.JPEGHuffmanTable
A class encapsulating a single JPEG Huffman table. Fields are provided for the "standard" tables taken from Annex K of the JPEG specification. These are the tables used as defaults.

For more information about the operation of the standard JPEG plug-in, see the JPEG metadata format specification and usage notes
Field Summary
public static final  JPEGHuffmanTable StdDCLuminance    The standard DC luminance Huffman table. 
public static final  JPEGHuffmanTable StdDCChrominance    The standard DC chrominance Huffman table. 
public static final  JPEGHuffmanTable StdACLuminance    The standard AC luminance Huffman table. 
public static final  JPEGHuffmanTable StdACChrominance    The standard AC chrominance Huffman table. 
Constructor:
 public JPEGHuffmanTable(short[] lengths,
    short[] values) 
Method from javax.imageio.plugins.jpeg.JPEGHuffmanTable Summary:
getLengths,   getValues,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.imageio.plugins.jpeg.JPEGHuffmanTable Detail:
 public short[] getLengths() 
    Returns an array of shorts containing the number of values for each length in the Huffman table. The returned array is a copy.
 public short[] getValues() 
    Returns an array of shorts containing the values arranged by increasing length of their corresponding codes. The interpretation of the array is dependent on the values returned from getLengths. The returned array is a copy.
 public String toString() 
    Returns a {@code String} representing this Huffman table.