Package | Description |
---|---|
org.forgerock.i18n |
A common framework for embedding localizable messages in applications.
|
org.forgerock.i18n.jul |
This package provides a localization mechanism for
java.util.logging . |
org.forgerock.i18n.slf4j |
This package provides an alternative localization mechanism to
org.slf4j.cal10n . |
Modifier and Type | Field and Description |
---|---|
static LocalizableMessage |
LocalizableMessage.EMPTY
Represents an empty message string.
|
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
LocalizableMessageDescriptor.Arg0.get()
Creates a localizable message.
|
LocalizableMessage |
LocalizableMessageDescriptor.ArgN.get(Object... args)
Creates a message with arguments that will replace format specifiers
in the associated format string when the message is rendered to
string representation.
|
LocalizableMessage |
LocalizableMessageDescriptor.Arg1.get(T1 a1)
Creates a message with arguments that will replace format specifiers
in the associated format string when the message is rendered to
string representation.
|
LocalizableMessage |
LocalizableMessageDescriptor.Arg2.get(T1 a1,
T2 a2)
Creates a message with arguments that will replace format specifiers
in the associated format string when the message is rendered to
string representation.
|
LocalizableMessage |
LocalizableMessageDescriptor.Arg3.get(T1 a1,
T2 a2,
T3 a3)
Creates a message with arguments that will replace format specifiers
in the associated format string when the message is rendered to
string representation.
|
LocalizableMessage |
LocalizableMessageDescriptor.Arg4.get(T1 a1,
T2 a2,
T3 a3,
T4 a4)
Creates a message with arguments that will replace format specifiers
in the associated format string when the message is rendered to
string representation.
|
LocalizableMessage |
LocalizableMessageDescriptor.Arg5.get(T1 a1,
T2 a2,
T3 a3,
T4 a4,
T5 a5)
Creates a message with arguments that will replace format specifiers
in the associated format string when the message is rendered to
string representation.
|
LocalizableMessage |
LocalizableMessageDescriptor.Arg6.get(T1 a1,
T2 a2,
T3 a3,
T4 a4,
T5 a5,
T6 a6)
Creates a message with arguments that will replace format specifiers
in the associated format string when the message is rendered to
string representation.
|
LocalizableMessage |
LocalizableMessageDescriptor.Arg7.get(T1 a1,
T2 a2,
T3 a3,
T4 a4,
T5 a5,
T6 a6,
T7 a7)
Creates a message with arguments that will replace format specifiers
in the associated format string when the message is rendered to
string representation.
|
LocalizableMessage |
LocalizableMessageDescriptor.Arg8.get(T1 a1,
T2 a2,
T3 a3,
T4 a4,
T5 a5,
T6 a6,
T7 a7,
T8 a8)
Creates a message with arguments that will replace format specifiers
in the associated format string when the message is rendered to
string representation.
|
LocalizableMessage |
LocalizableMessageDescriptor.Arg9.get(T1 a1,
T2 a2,
T3 a3,
T4 a4,
T5 a5,
T6 a6,
T7 a7,
T8 a8,
T9 a9)
Creates a message with arguments that will replace format specifiers
in the associated format string when the message is rendered to
string representation.
|
LocalizableMessage |
LocalizedIllegalArgumentException.getMessageObject()
Returns the localizable message that explains the problem that occurred.
|
LocalizableMessage |
LocalizableException.getMessageObject()
Returns the localizable message that explains the problem that occurred.
|
static LocalizableMessage |
LocalizableMessage.raw(CharSequence formatString,
Object... args)
Creates an non-localizable message whose
String representation is
always the same regardless of the requested locale. |
LocalizableMessage |
LocalizableMessageBuilder.toMessage()
Returns the
LocalizableMessage representation of this message
builder. |
static LocalizableMessage |
LocalizableMessage.valueOf(Object object)
Creates a new message whose content is the
String representation
of the provided Object . |
Modifier and Type | Method and Description |
---|---|
LocalizableMessageBuilder |
LocalizableMessageBuilder.append(LocalizableMessage message)
Appends the provided message to this message builder.
|
int |
LocalizableMessage.compareTo(LocalizableMessage message)
Compares this message with the specified message for order in the default
locale.
|
Constructor and Description |
---|
LocalizableMessageBuilder(LocalizableMessage message)
Creates a new message builder whose content is initially equal to the
provided message.
|
LocalizedIllegalArgumentException(LocalizableMessage message)
Creates a new localized illegal argument exception with the provided
message.
|
LocalizedIllegalArgumentException(LocalizableMessage message,
Throwable cause)
Creates a new localized illegal argument exception with the provided
message and cause.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalizedLogger.config(LocalizableMessage m)
Logs a CONFIG message.
|
void |
LocalizedLogger.fine(LocalizableMessage m)
Logs a FINE message.
|
void |
LocalizedLogger.finer(LocalizableMessage m)
Logs a FINER message.
|
void |
LocalizedLogger.finest(LocalizableMessage m)
Logs a FINEST message.
|
void |
LocalizedLogger.info(LocalizableMessage m)
Logs an INFO message.
|
void |
LocalizedLogger.log(Level level,
LocalizableMessage m)
Logs a message at the specified log level.
|
void |
LocalizedLogger.log(Level level,
LocalizableMessage m,
Throwable thrown)
Logs a message at the specified log level.
|
void |
LocalizedLogger.logp(Level level,
String sourceClass,
String sourceMethod,
LocalizableMessage m)
Logs a message at the specified log level.
|
void |
LocalizedLogger.logp(Level level,
String sourceClass,
String sourceMethod,
LocalizableMessage m,
Throwable thrown)
Logs a message at the specified log level.
|
void |
LocalizedLogger.severe(LocalizableMessage m)
Logs a SEVERE message.
|
void |
LocalizedLogger.warning(LocalizableMessage m)
Logs a WARNING message.
|
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
LocalizedMarker.getMessage()
Returns the message embedded into this marker.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalizedLogger.debug(LocalizableMessage m)
Logs a debug message.
|
void |
LocalizedLogger.debug(LocalizableMessage m,
Throwable t)
Logs a debug message with an accompanying exception.
|
void |
LocalizedLogger.error(LocalizableMessage m)
Logs an error message.
|
void |
LocalizedLogger.error(LocalizableMessage m,
Throwable t)
Logs an error message with an accompanying exception.
|
void |
LocalizedLogger.info(LocalizableMessage m)
Logs an info message.
|
void |
LocalizedLogger.info(LocalizableMessage m,
Throwable t)
Logs an info message with an accompanying exception.
|
void |
LocalizedLogger.trace(LocalizableMessage m)
Logs a trace message.
|
void |
LocalizedLogger.trace(LocalizableMessage m,
Throwable t)
Logs a trace message with an accompanying exception.
|
void |
LocalizedLogger.warn(LocalizableMessage m)
Logs a warning message.
|
void |
LocalizedLogger.warn(LocalizableMessage m,
Throwable t)
Logs a warning message with an accompanying exception.
|
Constructor and Description |
---|
LocalizedMarker(LocalizableMessage message)
Create a marker with provided localizable message.
|
Copyright © 2025 Open Identity Platform Community. All rights reserved.