java.lang.Object | |
↳ | org.bouncycastle.i18n.LocalizedMessage |
Known Direct Subclasses |
Known Indirect Subclasses |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LocalizedMessage.FilteredArguments |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DEFAULT_ENCODING |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
arguments | |||||||||||
encoding | |||||||||||
extraArgs | |||||||||||
filter | |||||||||||
id | |||||||||||
loader | |||||||||||
resource |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new LocalizedMessage using
resource as the base name for the
RessourceBundle and id as the message bundle id the resource file. | |||||||||||
Constructs a new LocalizedMessage using
resource as the base name for the
RessourceBundle and id as the message bundle id the resource file. | |||||||||||
Constructs a new LocalizedMessage using
resource as the base name for the
RessourceBundle and id as the message bundle id the resource file. | |||||||||||
Constructs a new LocalizedMessage using
resource as the base name for the
RessourceBundle and id as the message bundle id the resource file. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an
Object[] containing the message arguments. | |||||||||||
Returns the
ClassLoader which loads the resource files or null
if the default ClassLoader is used. | |||||||||||
Reads the entry
id + "." + key from the resource file and returns a
formated message for the given Locale and TimeZone. | |||||||||||
Returns the current filter.
| |||||||||||
Returns the id of the message in the resource bundle.
| |||||||||||
Returns the name of the resource bundle for this message
| |||||||||||
Set the
ClassLoader which loads the resource files. | |||||||||||
Sets the
Filter that is used to filter the arguments of this message | |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructs a new LocalizedMessage using resource
as the base name for the
RessourceBundle and id
as the message bundle id the resource file.
resource | base name of the resource file |
---|---|
id | the id of the corresponding bundle in the resource file |
NullPointerException | if resource or id is null
|
---|
Constructs a new LocalizedMessage using resource
as the base name for the
RessourceBundle and id
as the message bundle id the resource file.
resource | base name of the resource file |
---|---|
id | the id of the corresponding bundle in the resource file |
encoding | the encoding of the resource file |
NullPointerException | if resource or id is null |
---|---|
UnsupportedEncodingException | if the encoding is not supported |
Constructs a new LocalizedMessage using resource
as the base name for the
RessourceBundle and id
as the message bundle id the resource file.
resource | base name of the resource file |
---|---|
id | the id of the corresponding bundle in the resource file |
arguments | an array containing the arguments for the message |
NullPointerException | if resource or id is null
|
---|
Constructs a new LocalizedMessage using resource
as the base name for the
RessourceBundle and id
as the message bundle id the resource file.
resource | base name of the resource file |
---|---|
id | the id of the corresponding bundle in the resource file |
encoding | the encoding of the resource file |
arguments | an array containing the arguments for the message |
NullPointerException | if resource or id is null |
---|---|
UnsupportedEncodingException | if the encoding is not supported |
Returns an Object[]
containing the message arguments.
Returns the ClassLoader
which loads the resource files or null
if the default ClassLoader is used.
ClassLoader
which loads the resource files
Reads the entry id + "." + key
from the resource file and returns a
formated message for the given Locale and TimeZone.
MissingEntryException | if the resource file is not available or the entry does not exist. |
---|
Returns the id of the message in the resource bundle.
Returns the name of the resource bundle for this message
Set the ClassLoader
which loads the resource files. If it is set to null
then the default ClassLoader
is used.
loader | the ClassLoader which loads the resource files
|
---|