public enum StringDigitSubstitute extends Enum<StringDigitSubstitute>
The enumeration specifies how to substitute digits in a string according to a user's locale or language.
| Enum Constant and Description |
|---|
National
Specifies substitution digits that correspond with the official national language of the user's locale.
|
None
Specifies to disable substitutions.
|
Traditional
Specifies substitution digits that correspond with the user's native script or language, which may be different from the official national language of the user's locale.
|
User
Specifies a user-defined substitution scheme.
|
| Modifier and Type | Method and Description |
|---|---|
static StringDigitSubstitute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringDigitSubstitute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringDigitSubstitute User
Specifies a user-defined substitution scheme.
public static final StringDigitSubstitute None
Specifies to disable substitutions.
public static final StringDigitSubstitute National
Specifies substitution digits that correspond with the official national language of the user's locale.
public static final StringDigitSubstitute Traditional
Specifies substitution digits that correspond with the user's native script or language, which may be different from the official national language of the user's locale.
public static StringDigitSubstitute[] values()
for (StringDigitSubstitute c : StringDigitSubstitute.values()) System.out.println(c);
public static StringDigitSubstitute valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.