Interface ResourceUrlResolver
-
- All Superinterfaces:
java.util.function.Function<java.lang.String,java.lang.String>
- All Known Implementing Classes:
FlexmarkResourceUrlResolver.BuildTestResourceUrlResolver
,FlexmarkResourceUrlResolver.OutTestResourcesUrlResolver
,FlexmarkResourceUrlResolver.TargetTestResourceUrlResolver
public interface ResourceUrlResolver extends java.util.function.Function<java.lang.String,java.lang.String>
Used to resolve test resource URL from copy in test location to URL of source file
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FILE_PROTOCOL
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
apply(java.lang.String externalForm)
static boolean
hasProtocol(@NotNull java.lang.String externalForm)
static boolean
isFileProtocol(@NotNull java.lang.String externalForm)
static @NotNull java.lang.String
removeProtocol(@NotNull java.lang.String externalForm)
-
-
-
Field Detail
-
FILE_PROTOCOL
static final java.lang.String FILE_PROTOCOL
- See Also:
- Constant Field Values
-
-
Method Detail
-
apply
java.lang.String apply(java.lang.String externalForm)
- Specified by:
apply
in interfacejava.util.function.Function<java.lang.String,java.lang.String>
-
isFileProtocol
static boolean isFileProtocol(@NotNull @NotNull java.lang.String externalForm)
-
hasProtocol
static boolean hasProtocol(@NotNull @NotNull java.lang.String externalForm)
-
removeProtocol
@NotNull static @NotNull java.lang.String removeProtocol(@NotNull @NotNull java.lang.String externalForm)
-
-