/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** *ParseSpecbreakstheURLstringupintoits3majorcomponents:ascheme, *anauthoritysection(hostname,etc.),andapath. * *spec=<scheme>://<authority><path>
*/ void parseURL (in string spec, in long specLen,
out unsignedlong schemePos, out long schemeLen,
out unsignedlong authorityPos, out long authorityLen,
out unsignedlong pathPos, out long pathLen);
/** *ParseAuthoritybreakstheauthoritystringupintoits4components: *username,password,hostname,andhostport. * *auth=<username>:<password>@<hostname>:<port>
*/ void parseAuthority (in string authority, in long authorityLen,
out unsignedlong usernamePos, out long usernameLen,
out unsignedlong passwordPos, out long passwordLen,
out unsignedlong hostnamePos, out long hostnameLen,
out long port);
/** *userinfo=<username>:<password>
*/ void parseUserInfo (in string userinfo, in long userinfoLen,
out unsignedlong usernamePos, out long usernameLen,
out unsignedlong passwordPos, out long passwordLen);
/** *serverinfo=<hostname>:<port>
*/ void parseServerInfo (in string serverinfo, in long serverinfoLen,
out unsignedlong hostnamePos, out long hostnameLen,
out long port);
/** *ParsePathbreaksthepathstringupintoits3majorcomponents:afilepath, *aquerystring,andareferencestring. * *path=<filepath>?<query>#<ref>
*/ void parsePath (in string path, in long pathLen,
out unsignedlong filepathPos, out long filepathLen,
out unsignedlong queryPos, out long queryLen,
out unsignedlong refPos, out long refLen);
/** *ParseFilePathbreaksthefilepathstringupinto:thedirectoryportion, *filebasename,andfileextension. * *filepath=<directory><basename>.<extension>
*/ void parseFilePath (in string filepath, in long filepathLen,
out unsignedlong directoryPos, out long directoryLen,
out unsignedlong basenamePos, out long basenameLen,
out unsignedlong extensionPos, out long extensionLen);
/** *filename=<basename>.<extension>
*/ void parseFileName (in string filename, in long filenameLen,
out unsignedlong basenamePos, out long basenameLen,
out unsignedlong extensionPos, out long extensionLen);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.