KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)JPEGImageReaderResources.java 1.6 05/08/23
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 public class JPEGImageReaderResources extends ListResourceBundle JavaDoc {
13
14     public JPEGImageReaderResources() {}
15          
16     protected Object JavaDoc[][] getContents() {
17         return new Object JavaDoc[][] {
18
19         {Integer.toString(JPEGImageReader.WARNING_NO_EOI),
20          "Truncated File - Missing EOI marker"},
21         {Integer.toString(JPEGImageReader.WARNING_NO_JFIF_IN_THUMB),
22          "JFIF markers not allowed in JFIF JPEG thumbnail; ignored"}
23
24         };
25     }
26 }
27
Popular Tags