com.sun.appserv.management.util.misc
Class StringStringSource
java.lang.Object
com.sun.appserv.management.util.misc.StringSourceBase
com.sun.appserv.management.util.misc.StringStringSource
- All Implemented Interfaces:
- StringSource
public class StringStringSource
- extends StringSourceBase
A StringSource which obtains its strings from a String mimicking a Properties file
key1=value1
key2=value2
....
keyN=valueN
etc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringStringSource
public StringStringSource(String strings,
StringSource delegate)
getString
public String getString(String id)
- Description copied from interface:
StringSource
- Get the String referred to by 'id'
- Specified by:
getString
in interface StringSource
- Overrides:
getString
in class StringSourceBase
- Parameters:
id
- the id (key) for the String
- Returns:
- the String, or null if not found
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.