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

public Interface ResourceUrlResolver

extends Function<String, String>
Known Direct Implementers
com.vladsch.flexmark.test.util.FlexmarkResourceUrlResolver.TargetTestResourceUrlResolver, com.vladsch.flexmark.test.util.FlexmarkResourceUrlResolver.BuildTestResourceUrlResolver, com.vladsch.flexmark.test.util.FlexmarkResourceUrlResolver.OutTestResourcesUrlResolver
Imports
org.jetbrains.annotations.NotNull, java.util.function.Function

Used to resolve test resource URL from copy in test location to URL of source file

Field Summary

Modifier and TypeField and Description
public static final String

Method Summary

Modifier and TypeMethod and Description
public String
apply(String
the function argument
externalForm
)

Redeclares java.util.function.Function.apply.

Applies this function to the given argument.

public static boolean
hasProtocol(@NotNull String externalForm)

public static boolean
public static @NotNull String
Inherited from java.util.function.Function:
andThencomposeidentity

Field Detail

FILE_PROTOCOLback to summary
public static final String FILE_PROTOCOL

Method Detail

applyback to summary
public String apply(String externalForm)

Redeclares java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Parameters
externalForm:String

the function argument

Returns:String

the function result

Annotations
@Override
hasProtocolback to summary
public static boolean hasProtocol(@NotNull String externalForm)
isFileProtocolback to summary
public static boolean isFileProtocol(@NotNull String externalForm)
removeProtocolback to summary
public static @NotNull String removeProtocol(@NotNull String externalForm)
Annotations
@NotNull