FileDocCategorySizeDatePackage
ResourceBundleStringSource.javaAPI DocGlassfish v2 API2742Fri May 04 22:31:06 BST 2007com.sun.appserv.management.util.misc

ResourceBundleStringSource

public final class ResourceBundleStringSource extends StringSourceBase
A StringSource which obtains its strings from a resource bundle

Fields Summary
final ResourceBundle
mBundle
Constructors Summary
public ResourceBundleStringSource(ResourceBundle bundle, StringSource delegate)

		super( delegate );
		mBundle	= bundle;
	
Methods Summary
public java.lang.StringgetString(java.lang.String id)

		String	result	= mBundle.getString( id );
		
		if ( result == null )
		{
			result	= super.getString( id );
		}
		return( result );