Class ResourceLocation
java.lang.Object
com.vladsch.flexmark.test.util.spec.ResourceLocation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @NotNull Stringstatic final ResourceLocationprivate final @NotNull Stringprivate final @NotNull Class<?> private final @NotNull String -
Constructor Summary
ConstructorsModifierConstructorDescriptionResourceLocation(@NotNull Class<?> resourceClass, @NotNull String resourcePath, @NotNull String fileUrl) privateResourceLocation(@NotNull Class<?> resourceClass, @NotNull String resourcePath, @NotNull String fileUrl, @NotNull String resolvedResourcePath) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull String@NotNull String@NotNull StringgetFileUrl(int lineNumber) @NotNull String@NotNull Class<?> @NotNull InputStreamstatic @NotNull InputStreamgetResourceInputStream(@NotNull ResourceLocation location) @NotNull String@NotNull Stringstatic @NotNull StringgetResourceText(@NotNull ResourceLocation location) inthashCode()booleanisNull()static @NotNull ResourceLocationstatic @NotNull ResourceLocationstatic @NotNull ResourceLocationtoString()@NotNull ResourceLocationwithFileUrl(@NotNull String fileUrl) @NotNull ResourceLocationwithResolvedResourcePath(@NotNull String resolvedResourcePath) @NotNull ResourceLocationwithResourceClass(@NotNull Class<?> resourceClass) @NotNull ResourceLocationwithResourcePath(@NotNull String resourcePath)
-
Field Details
-
NULL
-
resourceClass
-
resourcePath
-
fileUrl
-
resolvedResourcePath
-
-
Constructor Details
-
ResourceLocation
-
ResourceLocation
-
-
Method Details
-
getResourceClass
-
getResourcePath
-
getFileUrl
-
getFileDirectoryUrl
-
getFileUrl
-
getResolvedResourcePath
-
isNull
public boolean isNull() -
getResourceInputStream
-
getResourceText
-
equals
-
withResourceClass
@NotNull public @NotNull ResourceLocation withResourceClass(@NotNull @NotNull Class<?> resourceClass) -
withResourcePath
-
withFileUrl
-
withResolvedResourcePath
@NotNull public @NotNull ResourceLocation withResolvedResourcePath(@NotNull @NotNull String resolvedResourcePath) -
hashCode
-
toString
-
of
-
of
@NotNull public static @NotNull ResourceLocation of(@NotNull @NotNull Class<?> resourceClass, @NotNull @NotNull String resourcePath) -
of
@NotNull public static @NotNull ResourceLocation of(@NotNull @NotNull Class<?> resourceClass, @NotNull @NotNull String resourcePath, @NotNull @NotNull String fileUrl) -
getResourceText
-
getResourceInputStream
@NotNull public static @NotNull InputStream getResourceInputStream(@NotNull @NotNull ResourceLocation location)
-