|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringSource
An abstraction for getting a String, given an id string.
Method Summary | |
---|---|
String |
getString(String id)
Get the String referred to by 'id' |
String |
getString(String id,
String defaultValue)
Get the String referred to by 'id'. |
Method Detail |
---|
String getString(String id)
id
- the id (key) for the String
String getString(String id, String defaultValue)
id
- the id (key) for the StringdefaultValue
- the default value to be returned if string was not found
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.