withPrefix

fun FileHandleResolver.withPrefix(prefix: String): PrefixFileHandleResolver

Decorates this FileHandleResolver with a PrefixFileHandleResolver.

Return

a new PrefixFileHandleResolver decorating this resolver.

Parameters

prefix

will be added to file paths before passing them to the original resolver.

See also

PrefixFileHandleResolver