This class provides a convenient way of working with paths. It supports the common path formats:
directory1/directory2/filename.extension
directory1\directory2\filename.extension
Static methods
staticdirectory(path:String):String
Returns the directory of path
.
If the directory is null
, the empty String ""
is returned.
If path
is null
, the result is unspecified.
Constructor
Variables
dir:Null<String>
The directory.
This is the leading part of the path that is not part of the file name and the extension.
Does not end with a /
or \
separator.
If the path has no directory, the value is null
.