-
- All Implemented Interfaces:
-
org.jetbrains.kotlinx.jupyter.api.libraries.VariablesSubstitutionAware
public final class ResourceLocation implements VariablesSubstitutionAware<ResourceLocation>
-
-
Field Summary
Fields Modifier and Type Field Description private final String
path
private final ResourcePathType
type
-
Constructor Summary
Constructors Constructor Description ResourceLocation(String path, ResourcePathType type)
-
Method Summary
Modifier and Type Method Description final String
getPath()
final ResourcePathType
getType()
ResourceLocation
replaceVariables(Map<String, String> mapping)
Replace variables and return the result. -
-
Constructor Detail
-
ResourceLocation
ResourceLocation(String path, ResourcePathType type)
-
-
Method Detail
-
getType
final ResourcePathType getType()
-
replaceVariables
ResourceLocation replaceVariables(Map<String, String> mapping)
Replace variables and return the result.
- Parameters:
mapping
- maps variables names to their values
-
-
-
-