Class Catalogue
java.lang.Object
com.ultikits.ultitools.text.internal.Catalogue
Immutable, normalized catalogue snapshot for one namespace.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMutable assembly confined to a loader or a test fixture. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether any language defines a path.booleanChecks whether a source-language file was supplied, including an empty one.booleanChecks the exact locale and its language without other fallbacks.Returns the first exact candidate defining this path.Returns the namespace.Returns the module's last-resort source language.Returns the templates that define a path, sorted by language tag.withOverrides(Catalogue overrides) Returns a new snapshot with the same-language override entries taking precedence.
-
Field Details
-
namespace
-
sourceLocale
-
entries
-
-
Constructor Details
-
Catalogue
-
-
Method Details
-
namespace
Returns the namespace. -
sourceLocale
Returns the module's last-resort source language. -
lookup
-
templates
-
isDefined
-
contains
Checks whether any language defines a path. -
hasLocale
Checks whether a source-language file was supplied, including an empty one. -
withOverrides
-