public static class TextProperties.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(java.lang.String locale)
Creates a new builder with the specified locale
|
| Modifier and Type | Method and Description |
|---|---|
TextProperties |
build()
Builds a new TextProperties object using the current
status of this builder.
|
TextProperties.Builder |
hyphenate(boolean value)
Sets the hyphenate value for this builder
|
TextProperties.Builder |
translationMode(java.lang.String mode)
Sets the translation mode for the builder
|
public Builder(java.lang.String locale)
locale - the locale for the builderpublic TextProperties.Builder hyphenate(boolean value)
value - the valuepublic TextProperties.Builder translationMode(java.lang.String mode)
mode - the translation modepublic TextProperties build()