Sign in Join
FPDoc Onlineexperiment

URIParser unit

URI Parsing routines.

The URIParser unit contains a basic type (TURI) and some routines for the parsing (ParseURI) and construction (EncodeURI) of Uniform Resource Indicators, commonly referred to as URL: Uniform Resource Location. It is used in various other units, and in itself contains no classes. It supports all protocols, username/password/port specification, query parameters and bookmarks etc..

Classes and records

TURIrecordRecord containing all possible parts of a URI.

Procedures and functions

EncodeURIfunctionForm a string representation of the URI.
FilenameToURIfunctionConstruct a URI from a filename.
IsAbsoluteURIfunctionCheck whether a URI is absolute.
ParseURIfunctionParse a URI and split it into its constituent parts.
ResolveRelativeURIfunctionReturn a relative link.
URIToFilenamefunctionConvert a URI to a filename.

Topics

Basic URI ParsingtopicBasic usage of URI parsing functions

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.