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