TrueLicense Core 1.33

de.schlichtherle.license.ftp
Class Resources

java.lang.Object
  extended by de.schlichtherle.license.ftp.Resources

 class Resources
extends Object

Looks up the resources for this package in a Resource Bundle. Provided for comfort.

Author:
Christian Schlichtherle

Field Summary
private static String CLASS_NAME
           
private static ResourceBundle resources
           
 
Constructor Summary
protected Resources()
          You cannot instantiate this class.
 
Method Summary
static String getString(String key)
          Looks up a string resource identified by key in resources.
static String getString(String key, Object argument)
          Looks up a string resource identified by key in resources and formats it as a message using MessageFormat.format with the given singular argument.
static String getString(String key, Object[] arguments)
          Looks up a string resource identified by key in resources and formats it as a message using MessageFormat.format with the given arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

private static final String CLASS_NAME

resources

private static final ResourceBundle resources
Constructor Detail

Resources

protected Resources()
You cannot instantiate this class.

Method Detail

getString

public static String getString(String key)
Looks up a string resource identified by key in resources.


getString

public static String getString(String key,
                               Object argument)
Looks up a string resource identified by key in resources and formats it as a message using MessageFormat.format with the given singular argument.


getString

public static String getString(String key,
                               Object[] arguments)
Looks up a string resource identified by key in resources and formats it as a message using MessageFormat.format with the given arguments.


TrueLicense Core 1.33

Copyright © 2005-2015 Schlichtherle IT Services. All Rights Reserved.