JVCL Help:TJvCustomUrlGrabber.ParseUrl

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Splits the given URL into its various parts, if indicated


Pascal

 classprocedureParseUrl(URL: string; Protocol: string; varHost: string; varFileName: string; varUserName: string; varPassword: string; varPort: Cardinal); virtual;


Parameters

Parameters Description
URL: string The Url to parse
Protocol: string The protocol marker to find in the Url
var Host: string Upon exit, contains the host part of the Url
var FileName: string Upon exit, contains the filename part of the Url (including the leading slash)
var UserName: string Upon exit, contains the username part of the Url
var Password: string Upon exit, contains the password part of the Url
var Port: Cardinal Upon exit, contains the port part of the Url


Description

A URL respects this format:
protocol [username[:password]@] host [:port] [/filename]
When a non compulsory part is missing the exit value of the associated parameter will be an empty string or 0


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page