java.util.PropertyResourceBundle
PropertyResourceBundle loads resources from an InputStream. All resources are
Strings. The resources must be of the form key=value
, one
resource per line.
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
PropertyResourceBundle(InputStream stream)
Constructs a new instance of PropertyResourceBundle and loads the
properties file from the specified input stream.
Public Methods
Returns the names of the resources contained in this
PropertyResourceBundle.
Returns
- an Enumeration of the resource names
public
Object
handleGetObject(String key)
Returns the named resource from this PropertyResourceBundle, or null if
the resource is not found.
Parameters
key
| the name of the resource |