Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.classpath.tools.keytool
Class Messages  view Messages download Messages.java

java.lang.Object
  extended bygnu.classpath.tools.keytool.Messages

class Messages
extends java.lang.Object

An initially generated Eclipse helper class to ease the use of localized messages.

Enriched to handle localized message formats.


Field Summary
private static java.lang.String BUNDLE_NAME
           
private static java.util.Map CACHED_FORMATS
           
private static java.util.logging.Logger log
           
private static java.util.ResourceBundle RESOURCE_BUNDLE
           
 
Constructor Summary
private Messages()
           
 
Method Summary
private static java.lang.String constructMessage(java.lang.String m, java.lang.Object args)
           
static java.lang.String getFormattedString(java.lang.String key, java.lang.Object args)
           
static java.lang.String getString(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final java.util.logging.Logger log

BUNDLE_NAME

private static final java.lang.String BUNDLE_NAME
See Also:
Constant Field Values

RESOURCE_BUNDLE

private static final java.util.ResourceBundle RESOURCE_BUNDLE

CACHED_FORMATS

private static final java.util.Map CACHED_FORMATS
Constructor Detail

Messages

private Messages()
Method Detail

getString

public static java.lang.String getString(java.lang.String key)

getFormattedString

public static java.lang.String getFormattedString(java.lang.String key,
                                                  java.lang.Object args)

constructMessage

private static final java.lang.String constructMessage(java.lang.String m,
                                                       java.lang.Object args)