Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/uri
UriPath
Class UriPath
Hierarchy
UriPath
Implements
Comparable
<
UriPath
>
HashCode
Debug
Display
Index
Accessors
length
Methods
appended
appended
Segment
appended
Slash
base
compare
To
debug
display
equals
foot
get
hash
Code
head
is
Absolute
is
Defined
is
Empty
is
Relative
is
Subpath
Of
merge
name
parent
prepended
prepended
Segment
prepended
Slash
remove
Dot
Segments
resolve
tail
to
Any
to
String
unmerge
builder
empty
from
from
Any
parse
path
Form
segment
slash
Accessors
length
get
length
(
)
:
number
Returns
number
Methods
appended
appended
(
...
components
:
AnyUriPath
[]
)
:
UriPath
Parameters
Rest
...
components:
AnyUriPath
[]
Returns
UriPath
appended
Segment
appended
Segment
(
segment
:
string
)
:
UriPath
Parameters
segment:
string
Returns
UriPath
appended
Slash
appended
Slash
(
)
:
UriPath
Returns
UriPath
Abstract
base
base
(
)
:
UriPath
Returns
UriPath
compare
To
compare
To
(
that
:
UriPath
)
:
0
|
1
|
-1
Parameters
that:
UriPath
Returns
0
|
1
|
-1
Abstract
debug
debug
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
display
display
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
foot
foot
(
)
:
UriPath
Returns
UriPath
get
get
(
index
:
number
)
:
string
|
undefined
Parameters
index:
number
Returns
string
|
undefined
hash
Code
hash
Code
(
)
:
number
Returns
number
Abstract
head
head
(
)
:
string
Returns
string
Abstract
is
Absolute
is
Absolute
(
)
:
boolean
Returns
boolean
Abstract
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
Abstract
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
Abstract
is
Relative
is
Relative
(
)
:
boolean
Returns
boolean
is
Subpath
Of
is
Subpath
Of
(
b
:
AnyUriPath
)
:
boolean
Parameters
b:
AnyUriPath
Returns
boolean
merge
merge
(
that
:
UriPath
)
:
UriPath
Parameters
that:
UriPath
Returns
UriPath
name
name
(
)
:
string
name
(
name
:
string
)
:
UriPath
Returns
string
Parameters
name:
string
Returns
UriPath
Abstract
parent
parent
(
)
:
UriPath
Returns
UriPath
prepended
prepended
(
...
components
:
AnyUriPath
[]
)
:
UriPath
Parameters
Rest
...
components:
AnyUriPath
[]
Returns
UriPath
prepended
Segment
prepended
Segment
(
segment
:
string
)
:
UriPath
Parameters
segment:
string
Returns
UriPath
prepended
Slash
prepended
Slash
(
)
:
UriPath
Returns
UriPath
remove
Dot
Segments
remove
Dot
Segments
(
)
:
UriPath
Returns
UriPath
resolve
resolve
(
that
:
UriPath
)
:
UriPath
Parameters
that:
UriPath
Returns
UriPath
Abstract
tail
tail
(
)
:
UriPath
Returns
UriPath
to
Any
to
Any
(
)
:
string
[]
Returns
string
[]
Abstract
to
String
to
String
(
)
:
string
Returns
string
unmerge
unmerge
(
relative
:
UriPath
, root
?:
UriPath
)
:
UriPath
Parameters
relative:
UriPath
Default value
root:
UriPath
= relative
Returns
UriPath
Static
builder
builder
(
)
:
UriPathBuilder
Returns
UriPathBuilder
Static
empty
empty
(
)
:
UriPath
Returns
UriPath
Static
from
from
(
...
components
:
AnyUriPath
[]
)
:
UriPath
Parameters
Rest
...
components:
AnyUriPath
[]
Returns
UriPath
Static
from
Any
from
Any
(
path
:
AnyUriPath
|
null
|
undefined
)
:
UriPath
Parameters
path:
AnyUriPath
|
null
|
undefined
Returns
UriPath
Static
parse
parse
(
string
:
string
)
:
UriPath
Parameters
string:
string
Returns
UriPath
Static
path
Form
path
Form
(
)
:
Form
<
UriPath
>
Returns
Form
<
UriPath
>
Static
segment
segment
(
segment
:
string
, tail
?:
UriPath
)
:
UriPath
Parameters
segment:
string
Default value
tail:
UriPath
= UriPath.empty()
Returns
UriPath
Static
slash
slash
(
tail
?:
UriPath
)
:
UriPath
Parameters
Default value
tail:
UriPath
= UriPath.empty()
Returns
UriPath
Globals
@swim/core
@swim/codec
@swim/collections
@swim/dataflow
@swim/math
@swim/recon
@swim/streamlet
@swim/structure
@swim/time
@swim/uri
@swim/util
@swim/mesh
@swim/ui
@swim/ux
@swim/web
Uri
Uri
Authority
Uri
Cache
Uri
Exception
Uri
Fragment
Uri
Host
Uri
Parser
Uri
Path
length
appended
appended
Segment
appended
Slash
base
compare
To
debug
display
equals
foot
get
hash
Code
head
is
Absolute
is
Defined
is
Empty
is
Relative
is
Subpath
Of
merge
name
parent
prepended
prepended
Segment
prepended
Slash
remove
Dot
Segments
resolve
tail
to
Any
to
String
unmerge
builder
empty
from
from
Any
parse
path
Form
segment
slash
Uri
Path
Builder
Uri
Port
Uri
Query
Uri
Query
Builder
Uri
Scheme
Uri
User
Uri
Authority
Init
Uri
Init
Uri
User
Init
Any
Uri
Any
Uri
Authority
Any
Uri
Fragment
Any
Uri
Host
Any
Uri
Path
Any
Uri
Port
Any
Uri
Query
Any
Uri
Scheme
Any
Uri
User