s@rdalya

 

DataFormatter

Page history last edited by vozcelik 3 yrs ago


 

DataFormatter

(extends object)


Object Summary

 

A general purpose object. It uses regular expressions to format Strings into various forms.

 

The object has been included in s@rdalya after version 1.1.5.

 

Just after removing the Formobject class from s@rdalya, parts of Formobject which could be utilized have been merged into this object.


Constructor

This object has not constructor. It is statically accessed.


Methods

 

DataFormatter.format(strValue,enumFormat)

 

parameters

strValue - The data to format.

enumFormat - The type of formatting (it should be a Constant.Format enumeration value).

 

returns

The formatted data.

 

comments

Formats the data according to the format rule.


See Also

 

None given.


Usage Examples

 

Comments (0)

You don't have permission to comment on this page.