Package org.openbase.jps.preset
Class JPLocale
- java.lang.Object
-
- org.openbase.jps.core.AbstractJavaProperty<Locale>
-
- org.openbase.jps.preset.JPLocale
-
- All Implemented Interfaces:
Comparable<AbstractJavaProperty>
public class JPLocale extends AbstractJavaProperty<Locale>
- Author:
- Divine Threepwood
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openbase.jps.core.AbstractJavaProperty
AbstractJavaProperty.ValueType
-
-
Field Summary
Fields Modifier and Type Field Description static String[]ARGUMENT_IDENTIFIERSstatic String[]COMMAND_IDENTIFIERS-
Fields inherited from class org.openbase.jps.core.AbstractJavaProperty
argumentIdentifiers, arguments, identifier, logger, propertyIdentifiers
-
-
Constructor Summary
Constructors Constructor Description JPLocale()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]generateArgumentIdentifiers()StringgetDescription()Method returns the description of the property.protected LocalegetPropertyDefaultValue()protected Localeparse(List<String> arguments)-
Methods inherited from class org.openbase.jps.core.AbstractJavaProperty
addArgument, addErrorReport, checkArgumentCount, checkArgumentCount, checkArgumentCountMax, checkArgumentCountMin, compareTo, getArgumentIdentifiers, getDefaultExample, getDefaultValue, getDependencyList, getErrorReport, getErrorReportMap, getOneArgumentResult, getPropertyIdentifiers, getSyntax, getValue, getValueType, isIdentified, isIdentifiered, isParsed, loadAction, match, neetToBeParsed, overwriteDefaultValue, parseArguments, registerDependingProperty, reset, setValue, toString, update, updateValue, validate
-
-
-
-
Method Detail
-
generateArgumentIdentifiers
protected String[] generateArgumentIdentifiers()
- Specified by:
generateArgumentIdentifiersin classAbstractJavaProperty<Locale>
-
getPropertyDefaultValue
protected Locale getPropertyDefaultValue()
- Specified by:
getPropertyDefaultValuein classAbstractJavaProperty<Locale>
-
parse
protected Locale parse(List<String> arguments) throws JPBadArgumentException
- Specified by:
parsein classAbstractJavaProperty<Locale>- Throws:
JPBadArgumentException
-
getDescription
public String getDescription()
Description copied from class:AbstractJavaPropertyMethod returns the description of the property.- Specified by:
getDescriptionin classAbstractJavaProperty<Locale>
-
-