Interface org.as2lib.io.file.File

Description

File represents any file.

Any File has to have a location and a size.

FileLoader contains the functionality to load a certain file.

Method Index

getLocation(), getSize()

Inherited from BasicInterface

Method Detail

getLocation

public function getLocation(Void):String

Returns the location of the File corresponding to the content.

Note: Might be the URI of the resource or null if its not requestable or the internal location corresponding to the instance path (if its without any connection to a real file).

Return

location of the resource related to the content

getSize

public function getSize(Void):Byte

Returns the size of the File in bytes.

Return

size of the File in bytes