001: /*
002: * $RCSfile: TIFFImageMetadataFormatResources.java,v $
003: *
004: *
005: * Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved.
006: *
007: * Redistribution and use in source and binary forms, with or without
008: * modification, are permitted provided that the following conditions
009: * are met:
010: *
011: * - Redistribution of source code must retain the above copyright
012: * notice, this list of conditions and the following disclaimer.
013: *
014: * - Redistribution in binary form must reproduce the above copyright
015: * notice, this list of conditions and the following disclaimer in
016: * the documentation and/or other materials provided with the
017: * distribution.
018: *
019: * Neither the name of Sun Microsystems, Inc. or the names of
020: * contributors may be used to endorse or promote products derived
021: * from this software without specific prior written permission.
022: *
023: * This software is provided "AS IS," without a warranty of any
024: * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
025: * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
026: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
027: * EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL
028: * NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF
029: * USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS
030: * DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR
031: * ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL,
032: * CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND
033: * REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR
034: * INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
035: * POSSIBILITY OF SUCH DAMAGES.
036: *
037: * You acknowledge that this software is not designed or intended for
038: * use in the design, construction, operation or maintenance of any
039: * nuclear facility.
040: *
041: * $Revision: 1.1 $
042: * $Date: 2005/02/11 05:01:46 $
043: * $State: Exp $
044: */
045: package com.sun.media.imageioimpl.plugins.tiff;
046:
047: import java.util.ListResourceBundle;
048:
049: public class TIFFImageMetadataFormatResources extends
050: ListResourceBundle {
051:
052: private static final Object[][] contents = {
053: { "TIFFIFD", "An IFD (directory) containing fields" },
054: { "TIFFIFD/parentTagNumber",
055: "The tag number of the field pointing to this IFD" },
056: { "TIFFIFD/parentTagName",
057: "A mnemonic name for the field pointing to this IFD, if known" },
058: { "TIFFField", "A field containing data" },
059: { "TIFFField/number",
060: "The tag number asociated with the field" },
061: { "TIFFField/name",
062: "A mnemonic name associated with the field, if known" },
063:
064: { "TIFFUndefined", "Uninterpreted byte data" },
065: { "TIFFUndefined/value",
066: "A list of comma-separated byte values" },
067:
068: { "TIFFBytes", "A sequence of TIFFByte nodes" },
069: { "TIFFByte", "An integral value between 0 and 255" },
070: { "TIFFByte/value", "The value" },
071: { "TIFFByte/description", "A description, if available" },
072:
073: { "TIFFAsciis", "A sequence of TIFFAscii nodes" },
074: { "TIFFAscii", "A String value" },
075: { "TIFFAscii/value", "The value" },
076:
077: { "TIFFShorts", "A sequence of TIFFShort nodes" },
078: { "TIFFShort", "An integral value between 0 and 65535" },
079: { "TIFFShort/value", "The value" },
080: { "TIFFShort/description", "A description, if available" },
081:
082: { "TIFFSShorts", "A sequence of TIFFSShort nodes" },
083: { "TIFFSShort",
084: "An integral value between -32768 and 32767" },
085: { "TIFFSShort/value", "The value" },
086: { "TIFFSShort/description", "A description, if available" },
087:
088: { "TIFFLongs", "A sequence of TIFFLong nodes" },
089: { "TIFFLong", "An integral value between 0 and 4294967295" },
090: { "TIFFLong/value", "The value" },
091: { "TIFFLong/description", "A description, if available" },
092:
093: { "TIFFSLongs", "A sequence of TIFFSLong nodes" },
094: { "TIFFSLong",
095: "An integral value between -2147483648 and 2147483647" },
096: { "TIFFSLong/value", "The value" },
097: { "TIFFSLong/description", "A description, if available" },
098:
099: { "TIFFRationals", "A sequence of TIFFRational nodes" },
100: { "TIFFRational",
101: "A rational value consisting of an unsigned numerator and denominator" },
102: { "TIFFRational/value",
103: "The numerator and denominator, separated by a slash" },
104:
105: { "TIFFSRationals", "A sequence of TIFFSRational nodes" },
106: { "TIFFSRational",
107: "A rational value consisting of a signed numerator and denominator" },
108: { "TIFFSRational/value",
109: "The numerator and denominator, separated by a slash" },
110:
111: { "TIFFFloats", "A sequence of TIFFFloat nodes" },
112: { "TIFFFloat", "A single-precision floating-point value" },
113: { "TIFFFloat/value", "The value" },
114:
115: { "TIFFDoubles", "A sequence of TIFFDouble nodes" },
116: { "TIFFDouble", "A double-precision floating-point value" },
117: { "TIFFDouble/value", "The value" },
118:
119: };
120:
121: public TIFFImageMetadataFormatResources() {
122: }
123:
124: public Object[][] getContents() {
125: return contents;
126: }
127: }
|