C# Class Fan.Sys.Uri

Uri is used to immutably represent a Universal Resource Identifier.
Inheritance: FanObj, Literal
Exibir arquivo Open project: xored/f4 Class Usage Examples

Public Properties

Property Type Description
m_defVal Uri

Public Methods

Method Description
@typeof ( ) : Type
Equals ( object obj ) : bool
GetHashCode ( ) : int
auth ( ) : string
basename ( ) : string
checkName ( string name ) : void
decode ( string s ) : Uri
decode ( string s, bool check ) : Uri
decodeQuery ( string s ) : Map
encode ( ) : string
encode ( ObjEncoder @out ) : void
encodeQuery ( Map map ) : string
ext ( ) : string
frag ( ) : string
fromStr ( string s ) : Uri
fromStr ( string s, bool check ) : Uri
get ( ) : object
get ( object @base ) : object
get ( object @base, bool check ) : object
getRange ( Range range ) : Uri
getRangeToPathAbs ( Range range ) : Uri
hash ( ) : long
host ( ) : string
isAbs ( ) : bool
isDir ( ) : bool
isName ( string name ) : bool
isPathAbs ( ) : bool
isPathOnly ( ) : bool
isRel ( ) : bool
mimeType ( ) : MimeType
name ( ) : string
parent ( ) : Uri
path ( ) : List
path ( int depth ) : string
pathOnly ( ) : Uri
pathStr ( ) : string
plus ( Uri r ) : Uri
plusName ( string name ) : Uri
plusName ( string name, bool asDir ) : Uri
plusQuery ( Map q ) : Uri
plusSlash ( ) : Uri
port ( ) : Long
query ( ) : Map
queryStr ( ) : string
relTo ( Uri baseUri ) : Uri
relToAuth ( ) : Uri
scheme ( ) : string
toCode ( ) : string
toFile ( ) : File
toLocale ( ) : string
toStr ( ) : string
userInfo ( ) : string

Private Methods

Method Description
Uri ( ) : System
Uri ( Sections x ) : System
appendQueryStr ( StringBuilder buf, string str ) : void
emptyPath ( ) : List
emptyQuery ( ) : Map
encodeQueryStr ( StringBuilder buf, string str ) : void
err ( string msg ) : Exception
hexNibble ( int ch ) : int
isScheme ( int c ) : bool
isUpper ( int c ) : bool
merge ( Sections t, Uri baseUri, Uri r ) : void
percentEncodeByte ( StringBuilder buf, int c ) : void
percentEncodeChar ( StringBuilder buf, int c ) : void
slice ( Range range, bool forcePathAbs ) : Uri
toPathStr ( bool isAbs, List path, bool isDir ) : string
toSection ( int section ) : string

Method Details

@typeof() public method

public @typeof ( ) : Type
return Type

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

auth() public method

public auth ( ) : string
return string

basename() public method

public basename ( ) : string
return string

checkName() public static method

public static checkName ( string name ) : void
name string
return void

decode() public static method

public static decode ( string s ) : Uri
s string
return Uri

decode() public static method

public static decode ( string s, bool check ) : Uri
s string
check bool
return Uri

decodeQuery() public static method

public static decodeQuery ( string s ) : Map
s string
return Map

encode() public method

public encode ( ) : string
return string

encode() public method

public encode ( ObjEncoder @out ) : void
@out Fanx.Serial.ObjEncoder
return void

encodeQuery() public static method

public static encodeQuery ( Map map ) : string
map Map
return string

ext() public method

public ext ( ) : string
return string

frag() public method

public frag ( ) : string
return string

fromStr() public static method

public static fromStr ( string s ) : Uri
s string
return Uri

fromStr() public static method

public static fromStr ( string s, bool check ) : Uri
s string
check bool
return Uri

get() public method

public get ( ) : object
return object

get() public method

public get ( object @base ) : object
@base object
return object

get() public method

public get ( object @base, bool check ) : object
@base object
check bool
return object

getRange() public method

public getRange ( Range range ) : Uri
range Range
return Uri

getRangeToPathAbs() public method

public getRangeToPathAbs ( Range range ) : Uri
range Range
return Uri

hash() public method

public hash ( ) : long
return long

host() public method

public host ( ) : string
return string

isAbs() public method

public isAbs ( ) : bool
return bool

isDir() public method

public isDir ( ) : bool
return bool

isName() public static method

public static isName ( string name ) : bool
name string
return bool

isPathAbs() public method

public isPathAbs ( ) : bool
return bool

isPathOnly() public method

public isPathOnly ( ) : bool
return bool

isRel() public method

public isRel ( ) : bool
return bool

mimeType() public method

public mimeType ( ) : MimeType
return MimeType

name() public method

public name ( ) : string
return string

parent() public method

public parent ( ) : Uri
return Uri

path() public method

public path ( ) : List
return List

path() public method

public path ( int depth ) : string
depth int
return string

pathOnly() public method

public pathOnly ( ) : Uri
return Uri

pathStr() public method

public pathStr ( ) : string
return string

plus() public method

public plus ( Uri r ) : Uri
r Uri
return Uri

plusName() public method

public plusName ( string name ) : Uri
name string
return Uri

plusName() public method

public plusName ( string name, bool asDir ) : Uri
name string
asDir bool
return Uri

plusQuery() public method

public plusQuery ( Map q ) : Uri
q Map
return Uri

plusSlash() public method

public plusSlash ( ) : Uri
return Uri

port() public method

public port ( ) : Long
return Long

query() public method

public query ( ) : Map
return Map

queryStr() public method

public queryStr ( ) : string
return string

relTo() public method

public relTo ( Uri baseUri ) : Uri
baseUri Uri
return Uri

relToAuth() public method

public relToAuth ( ) : Uri
return Uri

scheme() public method

public scheme ( ) : string
return string

toCode() public method

public toCode ( ) : string
return string

toFile() public method

public toFile ( ) : File
return File

toLocale() public method

public toLocale ( ) : string
return string

toStr() public method

public toStr ( ) : string
return string

userInfo() public method

public userInfo ( ) : string
return string

Property Details

m_defVal public_oe static_oe property

public static Uri m_defVal
return Uri