1. /*
  2. * @(#)GIFStreamMetadataFormatResources.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.gif;
  8. import java.util.ListResourceBundle;
  9. public class GIFStreamMetadataFormatResources extends ListResourceBundle {
  10. static final Object[][] contents = {
  11. // Node name, followed by description
  12. { "Version", "The file version, either 87a or 89a" },
  13. { "LogicalScreenDescriptor",
  14. "The logical screen descriptor, except for the global color table" },
  15. { "GlobalColorTable", "The global color table" },
  16. { "ColorTableEntry", "A global color table entry" },
  17. // Node name + "/" + AttributeName, followed by description
  18. { "Version/value",
  19. "The version string" },
  20. { "LogicalScreenDescriptor/logicalScreenWidth",
  21. "The width in pixels of the whole picture" },
  22. { "LogicalScreenDescriptor/logicalScreenHeight",
  23. "The height in pixels of the whole picture" },
  24. { "LogicalScreenDescriptor/colorResolution",
  25. "The number of bits of color resolution, beteen 1 and 8" },
  26. { "LogicalScreenDescriptor/pixelAspectRatio",
  27. "If 0, indicates square pixels, else W/H = (value + 15)/64" },
  28. { "GlobalColorTable/sizeOfGlobalColorTable",
  29. "The number of entries in the global color table" },
  30. { "GlobalColorTable/backgroundColorIndex",
  31. "The index of the color table entry to be used as a background" },
  32. { "GlobalColorTable/sortFlag",
  33. "True if the global color table is sorted by frequency" },
  34. { "ColorTableEntry/index", "The index of the color table entry" },
  35. { "ColorTableEntry/red",
  36. "The red value for the color table entry" },
  37. { "ColorTableEntry/green",
  38. "The green value for the color table entry" },
  39. { "ColorTableEntry/blue",
  40. "The blue value for the color table entry" },
  41. };
  42. public GIFStreamMetadataFormatResources() {}
  43. public Object[][] getContents() {
  44. return contents;
  45. }
  46. }