Section C.9. Helper Classes


C.9. Helper Classes

Some Atlas helper classes and features mimic the behavior of equivalent .NET Framework classes or features.

C.9.1. Sys.StringBuilder

Method

Description

Web.StringBuilder(initialText)

Constructor with initial text for the string

append(text)

Appends a text to the string

appendLine(text)

Appends a text and a newline (\r\n) to the string

clear()

Empties the string

isEmpty()

Whether the string is empty or not

toString(delimiter)

Joins all elements to a string


C.9.2. Enumerations

Method

Description

getValues()

Returns all values in the enumeration

valueFromString(s)

Returns the enumeration value with the given name

valueToString(value)

Returns the given enumeration value as a string

Type.createEnum(name, value1, index1, ...)

Creates an enumeration with the parameters provided to the Method





Programming Atlas
Programming Atlas
ISBN: 0596526725
EAN: 2147483647
Year: 2006
Pages: 146

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net