Top Fields Constructors Methods
com.vladsch.flexmark.test.util.spec

public Class ResourceResolverManager

extends Object
Class Inheritance
Imports
com.vladsch.flexmark.test.util.TestUtils, org.jetbrains.annotations.NotNull, java.io.File, java.net.URL, java.util.ArrayList, java.util.function.Function

Field Summary

Modifier and TypeField and Description
private static final ArrayList<Function<String, String>>
urlResolvers

urlResolvers map test resource location url to source resource url to allow tests to output file URLs which refer to source location, not copies in test location

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static @NotNull String
public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

urlResolversback to summary
private static final ArrayList<Function<String, String>> urlResolvers

urlResolvers map test resource location url to source resource url to allow tests to output file URLs which refer to source location, not copies in test location

Constructor Detail

ResourceResolverManagerback to summary
public ResourceResolverManager()

Method Detail

adjustedFileUrlback to summary
public static @NotNull String adjustedFileUrl(@NotNull URL url)
Annotations
@NotNull
registerUrlResolverback to summary
public static void registerUrlResolver(@NotNull Function<String, String> resolver)