Package scriptella.text
Class ValueFormatBuilder
java.lang.Object
scriptella.text.ValueFormatBuilder
Builder class for constructing
Format instances based on the following parameters:
- type - built-in type name, i.e. timestamp, number, date, time etc
- className - name of the custom sub-class of
Format - pattern - pattern to use for a specified type
- locale - locale to use for formatting
- Since:
- 1.1
- Author:
- Fyodor Kupolov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()getType()setClassName(String className) setPattern(String pattern)
-
Constructor Details
-
ValueFormatBuilder
public ValueFormatBuilder()
-
-
Method Details
-
getType
-
setType
-
getClassName
-
setClassName
-
getPattern
-
setPattern
-
getLocale
-
setLocale
-
build
-