Description
Parses the protocol, host, port, path, file and query properties for
the specified URL.
Details
Static Methods (1)
-
merge()
-
static public function merge(url, defaults);
Returns URL merged with DEFAULTS as an LzURL
Methods (4)
-
dupe()
-
-
parseURL()
-
public function parseURL(url : String);
Parses the protocol, host, port, path, file ,query and fragment properties for
the specified URL.
-
_splitPath()
-
public function _splitPath(pathfile);
split out the path and file portion of a url path
split out the "path" from the "filename"
examples:
"" := null, null
"/" := "/", null
"/foo" := "/" , "foo"
/foo/bar := "/foo/", "bar"
/foo/bar/baz/foo.html := "/foo/bar/baz/", "foo.html"
/foo/bar/ := "/foo/bar/", null
foo.html := null, "foo.html"
-
toString()
-
public function toString();
Returns this URL as a string
JavaScript Synopsis
public function LzURL(url : String);