java.lang.Object | ||
↳ | java.util.ResourceBundle | |
↳ | 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 (see Properties).
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.ResourceBundle
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
PropertyResourceBundle and loads the
properties file from the specified InputStream .
| |||||||||||
Constructs a new resource bundle with properties read from
reader .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the names of the resources contained in this
ResourceBundle .
| |||||||||||
Returns the named resource from this
ResourceBundle , or null if the
resource is not found.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.ResourceBundle
| |||||||||||
From class
java.lang.Object
|
Constructs a new instance of PropertyResourceBundle
and loads the
properties file from the specified InputStream
.
stream | the InputStream . |
---|
IOException | if an error occurs during a read operation on the
InputStream .
|
---|
Constructs a new resource bundle with properties read from reader
.
reader | the Reader |
---|
IOException | |
IOException |
Returns the names of the resources contained in this ResourceBundle
.
Enumeration
of the resource names.
Returns the named resource from this ResourceBundle
, or null if the
resource is not found.
key | the name of the resource. |
---|