flexlib :: library Documentation | All Packages | All Classes | Index | Frames No Frames |
IconParserFactory

Package | flexlib.controls.iconLoaderClasses
Class | public class IconParserFactory
Inheritance | IconParserFactory Object

Factory class to create a new object that implements the `IIconParser` interface.

Public Methods

| Method | Defined By
--- | --- | ---
|  | newParser(data:ByteArray):IIconParser [static] Reads the first few bytes from data and returns an object that implements IIconParser. | IconParserFactory

Method Detail

newParser | () | method

`public static function newParser(data:ByteArray):IIconParser`

Reads the first few bytes from `data` and returns an object that implements `IIconParser`. If no parser is available for the data, `null` is returned

Parameters

| `data:ByteArray`

Returns

| `IIconParser`

Mercredi Juillet 4 2012, 09:36 PM +02:00