@Immutable
public final class Messages
extends Object
Message resources are represented by Enum types implementing
Messages.Entry
. Each entry implements caching using getString(org.rvpf.base.logger.Messages.Entry)
and a
private field in a Object.toString()
override. The
Messages.Entry.getBundleName()
method needs to be defined to supply bundle
identification.
Modifier and Type | Class and Description |
---|---|
static interface |
Messages.Entry
Entry.
|
Modifier and Type | Method and Description |
---|---|
static String |
getString(Messages.Entry entry)
Gets a string for an entry.
|
@Nonnull @CheckReturnValue public static String getString(Messages.Entry entry)
entry
- The entry.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.