| Package | org.springextensions.actionscript.utils |
| SVN browsing | ObjectUtils.as |
| Fisheye | ObjectUtils.as |
| Class | public final class ObjectUtils |
Author: Christophe Herreman
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1
| Method | Defined by | ||
|---|---|---|---|
|
getClass(instance:Object, applicationDomain:ApplicationDomain = null):Class
[static]
Returns the
Class for the specified instance, if the instance is a UIComponent its ApplicationDomain
is retrieved and used for the Class retrieval. | ObjectUtils | ||
|
nullSafeToString(array:Array):String
[static]
Return a String representation of the contents of the specified array.
| ObjectUtils | ||
| getClass | () | method |
public static function getClass(instance:Object, applicationDomain:ApplicationDomain = null):Class
Returns the Class for the specified instance, if the instance is a UIComponent its ApplicationDomain
is retrieved and used for the Class retrieval.
instance:Object — The object to be inspected
|
|
applicationDomain:ApplicationDomain (default = null) |
Class — The Class for the object.
|
| nullSafeToString | () | method |
public static function nullSafeToString(array:Array):StringReturn a String representation of the contents of the specified array.
The String representation consists of a list of the array's elements,
enclosed in curly braces ("[]"). Adjacent elements are separated
by the characters "," (a comma). Returns "null"
if array is null.
Parameters
array:Array — the array to build a String representation for
|
String — a String representation of array
|