Dwuri.isunderdirectory(), Dwuri.tolocalpath(), Dwuri.localpathtouri() – Adobe Dreamweaver API Reference CS5 User Manual
Page 294
289
DREAMWEAVER API REFERENCE
Document
Last updated 8/27/2013
Arguments
None.
Returns
A string that specifies the last path part.
DWUri.isUnderDirectory()
Availability
Dreamweaver CS5.
Description
Determines if the URI is under a specified parent URI.
Note that the directory name comparisons are always case sensitive.
Arguments
A string that represents the parent URI.
Returns
A Boolean:
true
if the URI is under the specified parent URI.
DWUri.toLocalPath()
Availability
Dreamweaver CS5.
Description
Converts a URI with a service type scheme of “file” to a file system compatible string.
The return value is a platform specific string. Every platform represents the filename differently.
Arguments
None.
Returns
A string that represents a file system path that can be used to open files using the system level APIs. This string can be
passsed as an argument to other
DWFile
functions.
DWUri.localPathToURI()
Availability
Dreamweaver CS5.
Description
Converts a local file path to a URI object.