UriConverters

URI converters, typically converting an HTTP or HTTPS URI to a local file URI. The implementations use SimpleCatalog objects to perform the actual URI conversions.

URI converters, typically converting an HTTP or HTTPS URI to a local file URI. The implementations use SimpleCatalog objects to perform the actual URI conversions.

Note that the only fundamental methods in this singleton object are fromPartialUriConvertersWithoutFallback and fromPartialUriConvertersFallingBackToIdentity.

Authors

Chris de Vreeze

class Object
trait Matchable
class Any

Type members

Types

type UriConverter = URI => URI

Value members

Concrete methods

Like PartialUriConverters.fromCatalog(catalog), but otherwise the identity function.

Like PartialUriConverters.fromCatalog(catalog), but otherwise the identity function.

Like PartialUriConverters.fromCatalog(catalog), but otherwise throwing an exception.

Like PartialUriConverters.fromCatalog(catalog), but otherwise throwing an exception.

Returns fromPartialUriConvertersFallingBackToIdentity(immutable.IndexedSeq(partialUriConverter)).

Returns fromPartialUriConvertersFallingBackToIdentity(immutable.IndexedSeq(partialUriConverter)).

Returns fromPartialUriConvertersWithoutFallback(immutable.IndexedSeq(partialUriConverter)).

Returns fromPartialUriConvertersWithoutFallback(immutable.IndexedSeq(partialUriConverter)).

Returns the URI converter that for each input URI tries all given partial URI converters until a matching one is found, returning the conversion result. If for an URI no matching partial URI converter is found, the URI itself is returned.

Returns the URI converter that for each input URI tries all given partial URI converters until a matching one is found, returning the conversion result. If for an URI no matching partial URI converter is found, the URI itself is returned.

Returns the URI converter that for each input URI tries all given partial URI converters until a matching one is found, returning the conversion result. If for an URI no matching partial URI converter is found, an exception is thrown.

Returns the URI converter that for each input URI tries all given partial URI converters until a matching one is found, returning the conversion result. If for an URI no matching partial URI converter is found, an exception is thrown.

Concrete fields