public abstract class Transliterator extends java.lang.Object implements TransliteratorI
Constructor and Description |
---|
Transliterator() |
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
getInstanceSpecificLocale()
Returns the Locale for this Transliterator instance, defaulting to the default Locale set in the L10n class.
|
java.lang.Object[] |
getInstanceSpecificPaths()
Returns the paths (l10n bundles, classes) to use for l10n look-up.
|
java.lang.String |
l10n(java.util.Date d)
Returns a String representing the passed Date in the context of this Transliterator,
using the instance specific Locale of this Transliterator to format it.
|
java.lang.String |
l10n(java.util.Date d,
java.lang.String pattern) |
java.lang.String |
l10n(java.util.Date d,
java.lang.String pattern,
java.lang.String fallback) |
java.lang.String |
l10n(java.lang.Number n)
Returns a String representing the passed Number in the context of this Transliterator,
using the instance specific Locale of this Transliterator to format it.
|
java.lang.String |
l10n(java.lang.Number n,
java.lang.String pattern) |
java.lang.String |
l10n(java.lang.String key)
Returns the translation for the passed key and params in the context of this Transliterator,
using the instance specific Locale of this Transliterator.
|
java.lang.String |
l10n(java.lang.String key,
java.lang.Object[] params) |
public java.lang.String l10n(java.lang.String key)
l10n
in interface TransliteratorI
key
- the key for the translationparams
- the parameters to use in the translation (optional)public java.lang.String l10n(java.lang.String key, java.lang.Object[] params)
l10n
in interface TransliteratorI
public java.lang.String l10n(java.util.Date d)
l10n
in interface TransliteratorI
public java.lang.String l10n(java.util.Date d, java.lang.String pattern)
l10n
in interface TransliteratorI
public java.lang.String l10n(java.util.Date d, java.lang.String pattern, java.lang.String fallback)
l10n
in interface TransliteratorI
public java.lang.String l10n(java.lang.Number n)
l10n
in interface TransliteratorI
public java.lang.String l10n(java.lang.Number n, java.lang.String pattern)
l10n
in interface TransliteratorI
public java.util.Locale getInstanceSpecificLocale()
getInstanceSpecificLocale
in interface TransliteratorI
public java.lang.Object[] getInstanceSpecificPaths()
getInstanceSpecificPaths
in interface TransliteratorI
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.