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

StringSource

public interface StringSource
An abstraction for getting a String, given an id string.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetString(java.lang.String id)
Get the String referred to by 'id'

param
id the id (key) for the String
return
the String, or null if not found

public java.lang.StringgetString(java.lang.String id, java.lang.String defaultValue)
Get the String referred to by 'id'.

param
id the id (key) for the String
param
defaultValue the default value to be returned if string was not found
return
the String, or defaultValue if not found