Class StringLocaleConverter.Builder
java.lang.Object
org.apache.commons.beanutils2.locale.BaseLocaleConverter.Builder<StringLocaleConverter.Builder,String>
org.apache.commons.beanutils2.locale.converters.StringLocaleConverter.Builder
- Enclosing class:
- StringLocaleConverter
public static class StringLocaleConverter.Builder
extends BaseLocaleConverter.Builder<StringLocaleConverter.Builder,String>
Builds instances of
StringLocaleConverter
.-
Field Summary
Fields inherited from class org.apache.commons.beanutils2.locale.BaseLocaleConverter.Builder
defaultValue, locale, localizedPattern, pattern, useDefault
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.commons.beanutils2.locale.BaseLocaleConverter.Builder
asThis, setDefault, setLocale, setLocalizedPattern, setPattern, setUseDefault
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
get
Gets a new instance.Defaults construct a
LocaleConverter
that will throw aConversionException
if a conversion error occurs. The locale is the default locale for this instance of the Java Virtual Machine and an unlocalized pattern is used for the conversion.- Specified by:
get
in classBaseLocaleConverter.Builder<StringLocaleConverter.Builder,
String> - Returns:
- a new instance.
-