KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > imageio > plugins > jpeg > JPEGMetadataFormatResources


1 /*
2  * @(#)JPEGMetadataFormatResources.java 1.6 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.imageio.plugins.jpeg;
9
10 import java.util.ListResourceBundle JavaDoc;
11
12 abstract class JPEGMetadataFormatResources
13         extends ListResourceBundle JavaDoc {
14
15     static final Object JavaDoc[][] commonContents = {
16         // Node name, followed by description
17
{ "dqt", "A Define Quantization Table(s) marker segment" },
18         { "dqtable", "A single quantization table" },
19         { "dht", "A Define Huffman Table(s) marker segment" },
20         { "dhtable", "A single Huffman table" },
21         { "dri", "A Define Restart Interval marker segment" },
22         { "com", "A Comment marker segment. The user object contains "
23           + "the actual bytes."},
24         { "unknown", "An unrecognized marker segment. The user object "
25           + "contains the data not including length." },
26
27         // Node name + "/" + AttributeName, followed by description
28
{ "dqtable/elementPrecision",
29           "The number of bits in each table element (0 = 8, 1 = 16)" },
30         { "dgtable/qtableId",
31           "The table id" },
32         { "dhtable/class",
33           "Indicates whether this is a DC (0) or an AC (1) table" },
34         { "dhtable/htableId",
35           "The table id" },
36         { "dri/interval",
37           "The restart interval in MCUs" },
38         { "com/comment",
39           "The comment as a string (used only if user object is null)" },
40         { "unknown/MarkerTag",
41           "The tag identifying this marker segment" }
42     };
43 }
44
Popular Tags