Packageorg.spicefactory.lib.reflect.converter
Classpublic class StringConverter
ImplementsConverter

Converts String values.



Public Properties
 PropertyDefined by
  INSTANCE : StringConverter
[static]
StringConverter
Public Methods
 MethodDefined by
  
Creates a new Converter instance.
StringConverter
  
convert(value:*):*
Converts the specified value to the target type this Converter is implemented for.
StringConverter
Property detail
INSTANCEproperty
public static var INSTANCE:StringConverter
Constructor detail
StringConverter()constructor
public function StringConverter()

Creates a new Converter instance.

Method detail
convert()method
public function convert(value:*):*

Converts the specified value to the target type this Converter is implemented for. Implementations should return the value unchanged if it is already of the target type.

Parameters
value:* — the value to be converted

Returns
* — the converted value