Package | com.adobe.portfolio.utils |
Class | public class FileUtil |
Inheritance | FileUtil ![]() |
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Method | Defined By | ||
---|---|---|---|
getExtension(url:String):String [static]
Get the extension of a url, pathname, or filename
| FileUtil |
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
|
String — The extension (if any)
|