Packagecom.adobe.portfolio.utils
Classpublic class FileUtil
InheritanceFileUtil Inheritance Object

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The FileUtil class is a set of utility functions for file names and URLs.



Public Methods
 MethodDefined By
  
getExtension(url:String):String
[static] Get the extension of a url, pathname, or filename
FileUtil
Method Detail
getExtension()method
public static function getExtension(url:String):String

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Get the extension of a url, pathname, or filename

Parameters

url:String — string that's either a url, pathname or filename

Returns
String — The extension (if any)