Modifier and Type | Method and Description |
---|---|
default boolean |
Resources.getBoolean(String key)
Retrieves a Boolean resource.
|
default double |
Resources.getDouble(String key)
Retrieves a floating point resource.
|
default int |
Resources.getInt(String key)
Retrieves an integer resource.
|
Optional<Boolean> |
Resources.getOptionalBoolean(String key)
Retrieves a Boolean resource that may not be present.
|
Optional<Boolean> |
EmptyResources.getOptionalBoolean(String key) |
Optional<Boolean> |
AbstractStringResources.getOptionalBoolean(String key)
Retrieves a Boolean resource that may not be present.
|
protected Optional<String> |
BaseResources.getOptionalDereferencedString(String key)
Implementation for ultimately retrieving a string resource with resources evaluated.
|
Optional<Double> |
Resources.getOptionalDouble(String key)
Retrieves a floating point resource that may not be present.
|
Optional<Double> |
EmptyResources.getOptionalDouble(String key) |
Optional<Double> |
AbstractStringResources.getOptionalDouble(String key)
Retrieves a floating point resource that may not be present.
|
Optional<Integer> |
Resources.getOptionalInt(String key)
Retrieves an integer resource that may not be present.
|
Optional<Integer> |
EmptyResources.getOptionalInt(String key) |
Optional<Integer> |
AbstractStringResources.getOptionalInt(String key)
Retrieves an integer resource that may not be present.
|
Optional<String> |
Resources.getOptionalString(String key,
Object... arguments)
Retrieves a string resource that may not be present.
|
Optional<String> |
EmptyResources.getOptionalString(String key,
Object... arguments) |
Optional<String> |
BaseResources.getOptionalString(String key,
Object... arguments) |
protected abstract Optional<String> |
BaseResources.getOptionalStringImpl(String key)
Implementation for ultimately retrieving a raw string resource.
|
protected Optional<Resources> |
AbstractResourceI18nConcern.getParentResources(Class<?> contextClass)
Retrieves parent resources for the given context.
|
default Resources |
Rincled.getResources()
Retrieves resources for the class.
|
static Resources |
Rincl.getResources(Class<?> contextClass)
Retrieves resources for the current context for the given context class.
|
Resources |
ResourceI18nConcern.getResources(Class<?> contextClass)
Retrieves resources for the given context.
|
Resources |
EmptyResourceI18nConcern.getResources(Class<?> contextClass)
Retrieves resources for the given context.
|
default String |
Resources.getString(String key,
Object... arguments)
Retrieves a string resource.
|
boolean |
Resources.hasResource(String key)
Determines whether a resource of some type exists for the given resource key.
|
boolean |
EmptyResources.hasResource(String key) |
boolean |
AbstractStringResources.hasResource(String key)
Determines whether a resource of some type exists for the given resource key.
|
Copyright © 2016 GlobalMentor, Inc.. All rights reserved.