| Package | Description |
|---|---|
| net.lecousin.framework.exception |
Common exceptions.
|
| net.lecousin.framework.locale |
Localization.
|
| net.lecousin.framework.locale.annotations |
Annotations for localization.
|
| net.lecousin.framework.properties |
Utility classes for properties.
|
| net.lecousin.framework.util |
Utility classes.
|
| net.lecousin.framework.xml |
XML Parsing and generation.
|
| Modifier and Type | Method and Description |
|---|---|
ILocalizableString |
LocalizableException.getLocalizable() |
| Constructor and Description |
|---|
LocalizableException(ILocalizableString string)
Constructor.
|
LocalizableException(ILocalizableString string,
Throwable cause)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeLocalizable
Several localizable strings joined by a separator.
|
class |
FixedLocalizedString
Implement ILocalizableString with a fixed value (not localized).
|
class |
LocalizableString
A string that can be localized using LocalizedProperties.
|
class |
LocalizableStringBuffer
List of objects to concatenate to form a string, in which any object implementing ILocalizableString will be localized.
|
| Modifier and Type | Method and Description |
|---|---|
ILocalizableString |
ToLocalizableString.toLocalizable()
Get the localizable string from this object.
|
| Constructor and Description |
|---|
CompositeLocalizable(String sep,
ILocalizableString... elements)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ILocalizableString |
LocalizableAnnotations.get(AnnotatedElement element,
String name)
Get a localizable string from the given element.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Pair<ILocalizableString,Object>> |
PropertiesContainer.getProperties()
Return the properties of this object.
|
| Modifier and Type | Method and Description |
|---|---|
ILocalizableString |
CompositeNamedObject.getName(int index)
Return the name of the object at the given index.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CompositeNamedObject.add(ILocalizableString name,
Object object)
Add an object.
|
| Constructor and Description |
|---|
XMLException(ICharacterStream.Readable stream,
Object context,
ILocalizableString... messages)
Constructor.
|
XMLException(ICharacterStream.Readable stream,
Object context,
ILocalizableString message)
Constructor.
|
Copyright © 2019. All rights reserved.