Class TextResourceProcessor
- java.lang.Object
-
- net.anotheria.anosite.content.variables.TextResourceProcessor
-
- All Implemented Interfaces:
VariablesProcessor
public class TextResourceProcessor extends Object implements VariablesProcessor
TextResourceProcessor.- Author:
- h3llka
-
-
Constructor Summary
Constructors Constructor Description TextResourceProcessor()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringreplace(String prefix, String variable, String defValue, jakarta.servlet.http.HttpServletRequest req)Replace method.
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
Processor prefix.- See Also:
- Constant Field Values
-
-
Method Detail
-
replace
public String replace(String prefix, String variable, String defValue, jakarta.servlet.http.HttpServletRequest req)
Description copied from interface:VariablesProcessorReplace method.- Specified by:
replacein interfaceVariablesProcessor- Parameters:
prefix- processor prefixvariable- variable to replacedefValue- default valuereq- request- Returns:
- replaced text
-
-