001 002/* 003 * $RCSfile: GIFStreamMetadataFormatResources.java,v $ 004 * 005 * 006 * Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved. 007 * 008 * Redistribution and use in source and binary forms, with or without 009 * modification, are permitted provided that the following conditions 010 * are met: 011 * 012 * - Redistribution of source code must retain the above copyright 013 * notice, this list of conditions and the following disclaimer. 014 * 015 * - Redistribution in binary form must reproduce the above copyright 016 * notice, this list of conditions and the following disclaimer in 017 * the documentation and/or other materials provided with the 018 * distribution. 019 * 020 * Neither the name of Sun Microsystems, Inc. or the names of 021 * contributors may be used to endorse or promote products derived 022 * from this software without specific prior written permission. 023 * 024 * This software is provided "AS IS," without a warranty of any 025 * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND 026 * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, 027 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY 028 * EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL 029 * NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF 030 * USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS 031 * DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR 032 * ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, 033 * CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND 034 * REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR 035 * INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE 036 * POSSIBILITY OF SUCH DAMAGES. 037 * 038 * You acknowledge that this software is not designed or intended for 039 * use in the design, construction, operation or maintenance of any 040 * nuclear facility. 041 * 042 * $Revision: 1.1 $ 043 * $Date: 2006/03/24 22:30:11 $ 044 * $State: Exp $ 045 */ 046 047package com.github.jaiimageio.impl.plugins.gif; 048 049import java.util.ListResourceBundle; 050 051public class GIFStreamMetadataFormatResources extends ListResourceBundle { 052 053 public GIFStreamMetadataFormatResources() {} 054 055 protected Object[][] getContents() { 056 return new Object[][] { 057 058 // Node name, followed by description 059 { "Version", "The file version, either 87a or 89a" }, 060 { "LogicalScreenDescriptor", 061 "The logical screen descriptor, except for the global color table" }, 062 { "GlobalColorTable", "The global color table" }, 063 { "ColorTableEntry", "A global color table entry" }, 064 065 // Node name + "/" + AttributeName, followed by description 066 { "Version/value", 067 "The version string" }, 068 { "LogicalScreenDescriptor/logicalScreenWidth", 069 "The width in pixels of the whole picture" }, 070 { "LogicalScreenDescriptor/logicalScreenHeight", 071 "The height in pixels of the whole picture" }, 072 { "LogicalScreenDescriptor/colorResolution", 073 "The number of bits of color resolution, beteen 1 and 8" }, 074 { "LogicalScreenDescriptor/pixelAspectRatio", 075 "If 0, indicates square pixels, else W/H = (value + 15)/64" }, 076 { "GlobalColorTable/sizeOfGlobalColorTable", 077 "The number of entries in the global color table" }, 078 { "GlobalColorTable/backgroundColorIndex", 079 "The index of the color table entry to be used as a background" }, 080 { "GlobalColorTable/sortFlag", 081 "True if the global color table is sorted by frequency" }, 082 { "ColorTableEntry/index", "The index of the color table entry" }, 083 { "ColorTableEntry/red", 084 "The red value for the color table entry" }, 085 { "ColorTableEntry/green", 086 "The green value for the color table entry" }, 087 { "ColorTableEntry/blue", 088 "The blue value for the color table entry" }, 089 090 }; 091 } 092}