Packagecom.elad.framework.fileviewer
Classpublic class AbstractFileViewer
ImplementsIFileViewer
SubclassesFileViewerImage, FileViewerMovie, UIFileViewer

Converts an xml list into an array.



Public Methods
 MethodDefined by
  
initiate(filename:String):void
Method that will be used by UI to start the API
AbstractFileViewer
  
setProperties(filename:String):IView
This will set all the properties that are needed in the view layer.
AbstractFileViewer
Protected Methods
 MethodDefined by
  
The Factory Method is an abstract method that will be overridden in the view class.
AbstractFileViewer
Method detail
factoryMethod()method
protected function factoryMethod():IView

The Factory Method is an abstract method that will be overridden in the view class.

Returns
IView — The method return an object of the view.

See also

initiate()method 
public function initiate(filename:String):void

Method that will be used by UI to start the API

Parameters
filename:String — File name and extention to be checked and viewed.

See also

setProperties()method 
public function setProperties(filename:String):IView

This will set all the properties that are needed in the view layer.

Parameters
filename:String — File name and extention.

Returns
IView — IView Return the view components.

See also