public abstract class ParameterFormat extends <any>
This class provides the interface for formatting and parsing parameter
instances.
Modified by: Joseph A. Huwaldt
Modifier and Type | Method and Description |
---|---|
static ParameterFormat |
getSimpleFormatInstance()
Returns a simple ParameterFormat for which the value is stated using
the current units; for example
"1.34 m" . |
static ParameterFormat |
newInstance()
Returns the current
local
format (default ParameterFormat.getSimpleFormatInstance() ). |
static void |
setInstance(ParameterFormat format)
Sets the current
local format. |
public static ParameterFormat newInstance()
local
format (default ParameterFormat.getSimpleFormatInstance()
).getSimpleFormatInstance()
public static void setInstance(ParameterFormat format)
local
format.format
- the new format.public static ParameterFormat getSimpleFormatInstance()
"1.34 m"
.
This format can be used for formatting as well as for parsing.