Uses of Interface
io.github.mmm.base.i18n.Localizable
-
Packages that use Localizable Package Description io.github.mmm.base.exception ContainsApplicationException
and derived exception classes for common cases.io.github.mmm.base.i18n Contains APIs and helpers for internationalization.io.github.mmm.cli.exception Contains common exceptions for CLI.io.github.mmm.nls Provides the main API for the native language support (NLS).io.github.mmm.nls.cli Contains native language support (NLS) for command-line-interfaces (CLI).io.github.mmm.nls.cli.exception Contains common CLI exceptions with native language support.io.github.mmm.nls.cli.property Contains properties for data-binding to CLI commands.io.github.mmm.nls.exception io.github.mmm.validation Contains a simple but powerful API for validation.io.github.mmm.validation.string Contains validation support forString
andCharSequence
. -
-
Uses of Localizable in io.github.mmm.base.exception
Classes in io.github.mmm.base.exception that implement Localizable Modifier and Type Class Description class
ApplicationException
ExtendsRuntimeException
with the following features: aUUID
unique per exception instance automatically generated once per exceptionchain
. anerror code
that should be unique per exception type. distinction betweentechnical
exceptions and exceptionsintended for end-users
. NOTE:
Exceptions should only occur in unexpected or undesired situations.class
DuplicateObjectException
AnDuplicateObjectException
is thrown if an object was rejected because it is a duplicate.class
ObjectMismatchException
AnObjectMismatchException
is thrown if an object or value does not match an expected result.class
ObjectNotFoundException
AnObjectNotFoundException
is thrown if an object was requested but does not exist or could not be found.class
ReadOnlyException
AReadOnlyException
is thrown if the modification of something failed because it is read-only.class
RuntimeIoException
Methods in io.github.mmm.base.exception that return Localizable Modifier and Type Method Description Localizable
ApplicationException. getNlsMessage()
static Localizable
ApplicationException. getNlsMessage(Throwable error)
Constructors in io.github.mmm.base.exception with parameters of type Localizable Constructor Description ApplicationException(Localizable message)
The constructor.ApplicationException(Localizable message, Throwable cause)
The constructor.ApplicationException(Localizable message, Throwable cause, UUID uuid)
The constructor.ObjectNotFoundException(Localizable message, Throwable cause)
The constructor. -
Uses of Localizable in io.github.mmm.base.i18n
Methods in io.github.mmm.base.i18n that return Localizable Modifier and Type Method Description static Localizable
Localizable. ofStatic(String message)
default Localizable
Localizable. toLocalizable()
Localizable
LocalizableObject. toLocalizable()
This method is the equivalent toObject.toString()
with native language support. -
Uses of Localizable in io.github.mmm.cli.exception
Classes in io.github.mmm.cli.exception that implement Localizable Modifier and Type Class Description class
CliDuplicateOptionAliasException
CliException
thrown if two synonymousCliOption
s have been specified.class
CliException
Abstract base class for aRuntimeException
thrown for invalidCliArgument
s.Constructors in io.github.mmm.cli.exception with parameters of type Localizable Constructor Description CliException(Localizable message)
The constructor.CliException(Localizable message, Throwable cause)
The constructor. -
Uses of Localizable in io.github.mmm.nls
Subinterfaces of Localizable in io.github.mmm.nls Modifier and Type Interface Description interface
NlsMessage
This is the interface for an internationalized message. -
Uses of Localizable in io.github.mmm.nls.cli
Methods in io.github.mmm.nls.cli that return Localizable Modifier and Type Method Description Localizable
AbstractCliCommand. getHelp()
Localizable
CliCommand. getHelp()
Constructors in io.github.mmm.nls.cli with parameters of type Localizable Constructor Description AbstractCliCommand(Localizable help)
The constructor. -
Uses of Localizable in io.github.mmm.nls.cli.exception
Classes in io.github.mmm.nls.cli.exception that implement Localizable Modifier and Type Class Description class
CliArgumentMandatoryException
Thrown if a mandatoryCliValue
is missing.class
CliDuplicateOptionsException
CliException
thrown if two one or multipleCliOption
s have occurred multiple times.class
CliInvalidUsageException
class
CliNoArgumentsException
class
CliTypeNotExtendingException
Thrown if a mandatoryCliValue
is missing. -
Uses of Localizable in io.github.mmm.nls.cli.property
Methods in io.github.mmm.nls.cli.property that return Localizable Modifier and Type Method Description Localizable
AbstractCliProperty. getHelp()
Localizable
CliProperty. getHelp()
Constructors in io.github.mmm.nls.cli.property with parameters of type Localizable Constructor Description AbstractCliProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliBooleanProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliBooleanProperty(Localizable help, Boolean defaultValue, String... names)
The constructor.CliClassListProperty(Localizable help, Class<T> bound, boolean mandatory, String... names)
The constructor.CliClassProperty(Localizable help, Class<T> bound, boolean mandatory, String... names)
The constructor.CliClassProperty(Localizable help, Class<T> bound, Class<? extends T> defaultValue, String... names)
The constructor.CliCollectionProperty(Localizable help, CliProperty<E> property, boolean mandatory, String... names)
The constructor.CliFlagProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliListProperty(Localizable help, CliProperty<E> property, boolean mandatory, String... names)
The constructor.CliListProperty(Localizable help, CliProperty<E> property, List<E> defaultValue, String... names)
The constructor.CliLocalDateProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliLocalDateProperty(Localizable help, LocalDate defaultValue, String... names)
The constructor.CliLocaleListProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliLocaleProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliLocaleProperty(Localizable help, Locale defaultValue, String... names)
The constructor.CliLocalTimeProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliLocalTimeProperty(Localizable help, LocalTime defaultValue, String... names)
The constructor.CliLongListProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliLongProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliLongProperty(Localizable help, Long defaultValue, String... names)
The constructor.CliSetProperty(Localizable help, CliProperty<E> property, boolean mandatory, String... names)
The constructor.CliSetProperty(Localizable help, CliProperty<E> property, Set<E> defaultValue, String... names)
The constructor.CliStringListProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliStringProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliStringProperty(Localizable help, String defaultValue, String... names)
The constructor. -
Uses of Localizable in io.github.mmm.nls.exception
Classes in io.github.mmm.nls.exception that implement Localizable Modifier and Type Class Description class
ObjectNotFoundUserException
ObjectNotFoundException
for user
with NLS support.class
TechnicalErrorUserException
ATechnicalErrorUserException
is wrapping an arbitrary technical error to a generic exception for end-users or clients. -
Uses of Localizable in io.github.mmm.validation
Subinterfaces of Localizable in io.github.mmm.validation Modifier and Type Interface Description interface
ValidationResult
Result of avalidation
.Classes in io.github.mmm.validation that implement Localizable Modifier and Type Class Description class
AbstractValidationResult
Abstract base implementation ofValidationResult
.class
ComposedValidationFailure
class
ValidationFailure
Implementation ofValidationResult
for a failure withoutI18N support
.class
ValidationResultValid
ValidationResult
that isvalid
.Methods in io.github.mmm.validation that return Localizable Modifier and Type Method Description protected abstract Localizable
AbstractValueValidator. validateNotNull(V value)
This method performs the validation in casevalue
is NOTnull
.protected Localizable
AbstractValueValidator. validateNull()
This method performs the validation in casenull
was provided as value.Constructors in io.github.mmm.validation with parameters of type Localizable Constructor Description ValidationFailure(String code, Localizable message)
The constructor.ValidationFailure(String code, Localizable message, String source)
The constructor. -
Uses of Localizable in io.github.mmm.validation.string
Methods in io.github.mmm.validation.string that return Localizable Modifier and Type Method Description protected Localizable
ValidatorPasswordConfirmation. validateNull()
-