Packagech.capi.net
Interfacepublic interface ILoadableFileSelector
ImplementorsExtensionFileSelector

Selector for the creation of an ILoadableFile into a LoadableFileFactory.

See also

LoadableFileFactory


Public Methods
 MethodDefined by
  
create(request:URLRequest, factory:LoadableFileFactory):ILoadableFile
Creates a ILoadableFile using the specified LoadableFileFactory.
ILoadableFileSelector
Method detail
create()method
public function create(request:URLRequest, factory:LoadableFileFactory):ILoadableFile

Creates a ILoadableFile using the specified LoadableFileFactory. A ILoadableFileSelector should't use the create() or createFile() methods of the LoadableFileFactory because this method will be called again (risk of recursivity error).

Parameters
request:URLRequest — The URLRequest.
 
factory:LoadableFileFactory — The LoadableFileFactory.

Returns
ILoadableFile — The created ILoadableFile object.