public class

I18NImpl

extends Object
java.lang.Object
   ↳ com.sun.imageio.plugins.common.I18NImpl
Known Direct Subclasses

Class Overview

Class to simplify use of internationalization message strings. Property files are constructed in terms of content as for JAI with one "key=value" pair per line. All such files however have the same name "properties". The resource extractor resolves the extraction of the file from the jar as the package name is included automatically.

Extenders need only provide a static method getString(String) which calls the static method in this class with the name of the invoking class and returns a String.

Summary

Public Constructors
I18NImpl()
Protected Methods
final static String getString(String className, String resource_name, String key)
Returns the message string with the specified key from the "properties" file in the package containing the class with the specified name.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public I18NImpl ()

Protected Methods

protected static final String getString (String className, String resource_name, String key)

Returns the message string with the specified key from the "properties" file in the package containing the class with the specified name.