Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- apply(Object) - Method in class io.github.projectunified.maptemplate.MapTemplate
-
Applies the variables to an object depending on its type.
B
- build() - Method in class io.github.projectunified.maptemplate.MapTemplate.Builder
-
Builds the
MapTemplateinstance with the configured options. - builder() - Static method in class io.github.projectunified.maptemplate.MapTemplate
-
Create a new builder for
MapTemplate.Options.
E
- END_VARIABLE - Static variable in class io.github.projectunified.maptemplate.MapTemplate
-
The default end variable string.
- ESCAPE_CHAR - Static variable in class io.github.projectunified.maptemplate.MapTemplate
-
The default escape character string.
G
- getEndVariable() - Method in class io.github.projectunified.maptemplate.MapTemplate.Options
-
The string that indicates the end of a variable (e.g., "}").
- getEscapeChar() - Method in class io.github.projectunified.maptemplate.MapTemplate.Options
-
The character used to escape markers (e.g., "\").
- getStartVariable() - Method in class io.github.projectunified.maptemplate.MapTemplate.Options
-
The string that indicates the start of a variable (e.g., "{").
- getVariableFunction() - Method in class io.github.projectunified.maptemplate.MapTemplate.Options
-
The function used to resolve variable values by name.
I
- io.github.projectunified.maptemplate - package io.github.projectunified.maptemplate
M
- MapTemplate - Class in io.github.projectunified.maptemplate
- MapTemplate(MapTemplate.Options) - Constructor for class io.github.projectunified.maptemplate.MapTemplate
-
Create a new
MapTemplatewith the given options. - MapTemplate.Builder - Class in io.github.projectunified.maptemplate
-
A fluent builder for creating
MapTemplate.OptionsandMapTemplateinstances. - MapTemplate.Options - Class in io.github.projectunified.maptemplate
-
Configuration options for
MapTemplate.
O
- Options(String, String, String, Function<String, Object>) - Constructor for class io.github.projectunified.maptemplate.MapTemplate.Options
-
Create a new instance of
MapTemplate.Optionswith the specified configuration.
S
- setEndVariable(String) - Method in class io.github.projectunified.maptemplate.MapTemplate.Builder
-
Sets the end marker for variables.
- setEscapeChar(String) - Method in class io.github.projectunified.maptemplate.MapTemplate.Builder
-
Sets the escape character for markers.
- setStartVariable(String) - Method in class io.github.projectunified.maptemplate.MapTemplate.Builder
-
Sets the start marker for variables.
- setVariableFunction(Function<String, Object>) - Method in class io.github.projectunified.maptemplate.MapTemplate.Builder
-
Sets the function used to resolve variable values.
- setVariableMap(Map<String, Object>) - Method in class io.github.projectunified.maptemplate.MapTemplate.Builder
-
Sets the map of variables to be used for resolution.
- START_VARIABLE - Static variable in class io.github.projectunified.maptemplate.MapTemplate
-
The default start variable string.
T
- toBuilder() - Method in class io.github.projectunified.maptemplate.MapTemplate.Options
-
Create a new
MapTemplate.Builderinitialized with these options.
All Classes and Interfaces|All Packages|Constant Field Values