IMC Epclient 5.0.3

Package at.spardat.enterprise.fmt

This package provides formatting and validation support for AtomicAttrVals, primarely to get UI-specific, localized encodings of AtomicAttrVals.

See:
          Description

Class Summary
ABcdFmt A IFmt class capable of formatting and parsing numbers.
ABcdFmtDefault This implementation allows to parse and format internationalized numbers.
ABcdFmtPattern In order to parse numbers, ABcdFmtDefault is used.
ABcdFmtRange Extends ABcdFmt to allow restricting the number range by providing an upper and lower limit.
ADateFmt This class supports formatting and parsig ADates.
ADateFmtJavaUtilText This class wraps the default behaviour of the JDK regarding formatting and parsing of Dates.
ADateFmtMediumSmart This class is a high speed implementation for parsing and formatting dates, like the MEDIUM format of DateFormat.
AStringFmt A formatter to validate the length and char set in strings.
AStringFmtRange This class defines a formatter which accepts characters from character ranges.
AStringFmtRangeRegEx A formatter based at java.util.regex.
ATimeStampFmt Converts between internal and external format of ATimeStamps.
FmtFactory This class is a factory that allows to construct all the formatters/validators provided in this package by using a String-specification.
IFmt IFmt objects are responsible for converting an internal string encoding of a particular AtomicAttrVal type to an UI encoding and vice versa.
 

Exception Summary
AParseException This exception is thrown by method IFmt.parse(java.lang.String) if an external string cannot be converted to an internal.
FmtParseException This class denotes a parse exception.
 

Package at.spardat.enterprise.fmt Description

This package provides formatting and validation support for AtomicAttrVals, primarely to get UI-specific, localized encodings of AtomicAttrVals.

All formatters implement the interface IFmt. Instances of formatters may be retrieved via the getInstance-methods of the classes implementing IFmt. The available getInstance-methods can be found in the following classes:

The second way to create formatters is by using the factory-class FmtFactory, that requires a string-specification.

Once you've retrieved a formatter, it may be used as parameter in the methods AtomicAttrVal.toString(IFmt) and AtomicAttrVal.set(String,IFmt).

The methods AtomicAttrVal.toStringFmt and AtomicAttrVal.setFmt work with string-specification and internally use the factory FmtFactory.


IMC Epclient 5.0.3