|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.pkix.util.LocalizedMessage
org.bouncycastle.pkix.util.TextBundle
org.bouncycastle.pkix.util.MessageBundle
org.bouncycastle.pkix.util.ErrorBundle
| Nested Class Summary |
| Nested classes inherited from class org.bouncycastle.pkix.util.LocalizedMessage |
LocalizedMessage.FilteredArguments |
| Field Summary | |
static java.lang.String |
DETAIL_ENTRY
detail entry key |
static java.lang.String |
SUMMARY_ENTRY
summary entry key |
| Fields inherited from class org.bouncycastle.pkix.util.MessageBundle |
TITLE_ENTRY |
| Fields inherited from class org.bouncycastle.pkix.util.TextBundle |
TEXT_ENTRY |
| Fields inherited from class org.bouncycastle.pkix.util.LocalizedMessage |
arguments, DEFAULT_ENCODING, encoding, extraArgs, filter, id, loader, resource |
| Constructor Summary | |
ErrorBundle(java.lang.String resource,
java.lang.String id)
Constructs a new ErrorBundle using resource as the base name for the RessourceBundle and id as the message bundle id the resource file. |
|
ErrorBundle(java.lang.String resource,
java.lang.String id,
java.lang.Object[] arguments)
Constructs a new ErrorBundle using resource as the base name for the RessourceBundle and id as the message bundle id the resource file. |
|
ErrorBundle(java.lang.String resource,
java.lang.String id,
java.lang.String encoding)
Constructs a new ErrorBundle using resource as the base name for the RessourceBundle and id as the message bundle id the resource file. |
|
ErrorBundle(java.lang.String resource,
java.lang.String id,
java.lang.String encoding,
java.lang.Object[] arguments)
Constructs a new ErrorBundle using resource as the base name for the RessourceBundle and id as the message bundle id the resource file. |
|
| Method Summary | |
java.lang.String |
getDetail(java.util.Locale loc)
Returns the detail message in the given locale and the default timezone. |
java.lang.String |
getDetail(java.util.Locale loc,
java.util.TimeZone timezone)
Returns the detail message in the given locale and timezone. |
java.lang.String |
getSummary(java.util.Locale loc)
Returns the summary message in the given locale and the default timezone. |
java.lang.String |
getSummary(java.util.Locale loc,
java.util.TimeZone timezone)
Returns the summary message in the given locale and timezone. |
| Methods inherited from class org.bouncycastle.pkix.util.MessageBundle |
getTitle, getTitle |
| Methods inherited from class org.bouncycastle.pkix.util.TextBundle |
getText, getText |
| Methods inherited from class org.bouncycastle.pkix.util.LocalizedMessage |
addExtraArgs, formatWithTimeZone, getArguments, getClassLoader, getEntry, getExtraArgs, getFilter, getId, getResource, setClassLoader, setExtraArgument, setExtraArguments, setFilter, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String SUMMARY_ENTRY
public static final java.lang.String DETAIL_ENTRY
| Constructor Detail |
public ErrorBundle(java.lang.String resource,
java.lang.String id)
throws java.lang.NullPointerException
resource - base name of the resource fileid - the id of the corresponding bundle in the resource file
java.lang.NullPointerException - if resource or id is null
public ErrorBundle(java.lang.String resource,
java.lang.String id,
java.lang.String encoding)
throws java.lang.NullPointerException,
java.io.UnsupportedEncodingException
resource - base name of the resource fileid - the id of the corresponding bundle in the resource fileencoding - the encoding of the resource file
java.lang.NullPointerException - if resource or id is null
java.io.UnsupportedEncodingException - if the encoding is not supported
public ErrorBundle(java.lang.String resource,
java.lang.String id,
java.lang.Object[] arguments)
throws java.lang.NullPointerException
resource - base name of the resource fileid - the id of the corresponding bundle in the resource filearguments - an array containing the arguments for the message
java.lang.NullPointerException - if resource or id is null
public ErrorBundle(java.lang.String resource,
java.lang.String id,
java.lang.String encoding,
java.lang.Object[] arguments)
throws java.lang.NullPointerException,
java.io.UnsupportedEncodingException
resource - base name of the resource fileid - the id of the corresponding bundle in the resource fileencoding - the encoding of the resource filearguments - an array containing the arguments for the message
java.lang.NullPointerException - if resource or id is null
java.io.UnsupportedEncodingException - if the encoding is not supported| Method Detail |
public java.lang.String getSummary(java.util.Locale loc,
java.util.TimeZone timezone)
throws MissingEntryException
loc - the Localetimezone - the TimeZone
MissingEntryException - if the message is not available
public java.lang.String getSummary(java.util.Locale loc)
throws MissingEntryException
loc - the Locale
MissingEntryException - if the message is not available
public java.lang.String getDetail(java.util.Locale loc,
java.util.TimeZone timezone)
throws MissingEntryException
loc - the Localetimezone - the TimeZone
MissingEntryException - if the message is not available
public java.lang.String getDetail(java.util.Locale loc)
throws MissingEntryException
loc - the Locale
MissingEntryException - if the message is not available
|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||