Class URIRelativeLocationConverter

java.lang.Object
org.eclipse.cdt.core.index.URIRelativeLocationConverter
All Implemented Interfaces:
IIndexLocationConverter

public class URIRelativeLocationConverter extends Object implements IIndexLocationConverter
A IIndexLocationConverter for converting relative paths within an index, by prefixing them with the supplied base URI.

Note: The supplied base URI must end with a forward slash
This location converter is internal-representation-compatible with ResourceContainerRelativeLocationConverter

Since:
4.0
  • Constructor Details

    • URIRelativeLocationConverter

      public URIRelativeLocationConverter(URI baseURI)
      Constructs an URIRelativeLocationConverter which will relative paths by prefixing the supplied base URI.
      Parameters:
      baseURI - the URI which will form the absolute base that relative paths are concatenated to. Note: It must end with a forward slash.
  • Method Details