net.sourceforge.pmd.util.viewer.util
Class NLS

java.lang.Object
  extended bynet.sourceforge.pmd.util.viewer.util.NLS

public class NLS
extends java.lang.Object

helps with internationalization

Version:
$Id: NLS.java,v 1.1 2003/09/23 20:32:42 tomcopeland Exp $
Author:
Boris Gruschko ( boris at gruschko.org )

Field Summary
private static java.util.ResourceBundle bundle
           
 
Constructor Summary
NLS()
           
 
Method Summary
static java.lang.String nls(java.lang.String key)
          translates the given key to the message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundle

private static final java.util.ResourceBundle bundle
Constructor Detail

NLS

public NLS()
Method Detail

nls

public static java.lang.String nls(java.lang.String key)
translates the given key to the message

Parameters:
key - key to be translated
Returns:
translated string