public static function normalizeFilePath(filePath:String):String
Ensures that the file path is using forward slash separators
Parameters
Returns
public static function normalizeLocale(value:String):String
Normalize a Locale value so that comparisons are effectively case
insensitive as required by RFC 3066 (which superceeds RFC 1766). The
normalization rules:
- The primary subtag is lower case, the suggested practice of ISO 639.
- All 2 letter secondary subtags are upper case, the suggested
practice of ISO 3166.
- All other subtags are lower case.
Note: Underscores are used between the language tags,
while XMP uses normally hyphens.
Parameters
Returns
| String — Returns the normalized value.
|
public static function normalizePath(path:String):String
Ensures that the file path is using forward slash separators AND
that it is followed by a slash.
Parameters
Returns