Documentation Language: Swift

Method

convertURI(_:)

Converts a logical URI to its physical equivalent.

func convertURI(_ logicalURI: String) -> String

Parameters

logicalURI

The logical URI to convert.

Return Value

The physical URI, or the original URI if no mapping exists.

Discussion

Supports both exact matches and prefix matches. For prefix matches, the longest matching prefix is used. Chained mappings are resolved iteratively until no more conversions are possible.