public static class TextProperties.Builder extends Object
Constructor and Description |
---|
Builder(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(String mode)
Sets the translation mode for the builder
|
public Builder(String locale)
locale
- the locale for the builderpublic TextProperties.Builder hyphenate(boolean value)
value
- the valuepublic TextProperties.Builder translationMode(String mode)
mode
- the translation modepublic TextProperties build()