public final class ResourceBundleAccessor extends Object implements StringAndIconResourceAccessor
StringAndIconResourceAccessor.Note: This class is not part of the public JGoodies Common API It's intended for implementation purposes only The class's API may change at any time.
| Constructor and Description |
|---|
ResourceBundleAccessor(ResourceBundle bundle) |
public ResourceBundleAccessor(ResourceBundle bundle)
public Icon getIcon(String key)
IconResourceAccessorgetIcon in interface IconResourceAccessorkey - the key used to look up the Iconpublic String getString(String key, Object... args)
String.format
getString in interface StringResourceAccessorkey - the key in the resource bundleargs - optional format arguments forwarded to String#formatString.format(String, Object...)Copyright © 2009-2014 JGoodies Software GmbH. All Rights Reserved.