Options
All
  • Public
  • Public/Protected
  • All
Menu

Class URI

Hierarchy

  • URI

Index

Constructors

constructor

  • new URI(uri?: string | Uri): URI

Properties

Private _path

_path: Path | undefined

Private Readonly codeUri

codeUri: Uri

Accessors

allLocations

  • get allLocations(): URI[]

authority

  • get authority(): string

displayName

  • get displayName(): string
  • TODO move implementation to DefaultUriLabelProviderContribution.getName

    deprecated

    use LabelProvider.getName instead

    Returns string

fragment

  • get fragment(): string

parent

  • get parent(): URI

path

query

  • get query(): string

scheme

  • get scheme(): string

Methods

Private hasSameOrigin

  • hasSameOrigin(uri: URI): boolean

isEqual

  • isEqual(uri: URI, caseSensitive?: boolean): boolean

isEqualOrParent

  • isEqualOrParent(uri: URI, caseSensitive?: boolean): boolean

normalizePath

  • normalizePath(): URI

relative

  • relative(uri: URI): Path | undefined

resolve

  • resolve(path: string | Path): URI

toString

  • toString(skipEncoding?: undefined | false | true): string

withAuthority

  • withAuthority(authority: string): URI

withFragment

  • withFragment(fragment: string): URI

withPath

  • withPath(path: string | Path): URI

withQuery

  • withQuery(query: string): URI

withScheme

  • withScheme(scheme: string): URI

withoutAuthority

  • withoutAuthority(): URI

withoutFragment

  • withoutFragment(): URI

withoutPath

  • withoutPath(): URI

withoutQuery

  • withoutQuery(): URI

Static getDistinctParents

  • getDistinctParents(uris: URI[]): URI[]