Dwuri.getserverport(), Dwuri.getpath(), Dwuri.getquery() – Adobe Dreamweaver API Reference CS5 User Manual
Page 284
279
DREAMWEAVER API REFERENCE
Document
Last updated 8/27/2013
DWUri.getServerPort()
Availability
Dreamweaver CS5.
Description
Retrieves the server port. The URI object is not valid until it is constructed or initialized with the valid URI.
For the URI “
http://www.adobe.com:8080
”, “
8080
” is the port.
Arguments
None.
Returns
A String containing the URI object’s server port.
DWUri.getPath()
Availability
Dreamweaver CS5.
Description
Retrieves the path part or the file name. The URI object is not valid until it is constructed or initialized with the valid URI.
For the URI “
http://www.adobe.com/Dreamweaver/CS5/index.htm
”, “
/Dreamweaver/CS5/
” is the path part.
Arguments
None.
Returns
A String containing the URI object’s path part.
DWUri.getQuery()
Availability
Dreamweaver CS5.
Description
Retrieves the query string. The URI object is not valid until it is constructed or initialized with the valid URI.
For the URI “
http://www.adobe.com/Dreamweaver/CS5/index.htm?q=1502
”, “
q=1502
” is the query string.
Arguments
None.
Returns
A String containing the URI object’s query string.