ROOT  6.06/09
Reference Guide
Functions | Variables
TUrl.cxx File Reference
#include <stdlib.h>
#include "TUrl.h"
#include "THashList.h"
#include "TObjArray.h"
#include "TObjString.h"
#include "TEnv.h"
#include "TSystem.h"
#include "TMap.h"
#include "TVirtualMutex.h"
+ Include dependency graph for TUrl.cxx:

Go to the source code of this file.

Functions

 ClassImp (TUrl) TUrl
 Parse url character string and split in its different subcomponents. More...
 

Variables

TVirtualMutexgURLMutex = 0
 

Function Documentation

ClassImp ( TUrl  )

Parse url character string and split in its different subcomponents.

Use IsValid() to check if URL is legal.

1 url: [proto://][user[:passwd]@]host[:port]/file.ext[?options][#anchor]

Known protocols: http, root, proof, ftp, news and any special protocols defined in the rootrc Url.Special key. The default protocol is "http", unless defaultIsFile is true in which case the url is assumed to be of type "file". If a passwd contains a @ it must be escaped by a \, e.g. "pip@" becomes "pip\\@".

Default ports: http=80, root=1094, proof=1093, ftp=20, news=119. Port #1093 has been assigned by IANA (www.iana.org) to proofd. Port #1094 has been assigned by IANA (www.iana.org) to rootd.

Definition at line 55 of file TUrl.cxx.

Variable Documentation

TVirtualMutex* gURLMutex = 0

Definition at line 34 of file TUrl.cxx.