Class FunctionSTR2CSV
- java.lang.Object
-
- com.igormaznitsa.jcp.expression.functions.AbstractFunction
-
- com.igormaznitsa.jcp.expression.functions.AbstractStrConverter
-
- com.igormaznitsa.jcp.expression.functions.FunctionSTR2CSV
-
- All Implemented Interfaces:
ExpressionItem
public final class FunctionSTR2CSV extends AbstractStrConverter
The class implements the str2csv function handler
-
-
Field Summary
-
Fields inherited from class com.igormaznitsa.jcp.expression.functions.AbstractFunction
ALL_FUNCTIONS, EXECUTION_PREFIX, UID_COUNTER
-
-
Constructor Summary
Constructors Constructor Description FunctionSTR2CSV()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Value
executeStr(PreprocessorContext context, Value value)
java.lang.String
getName()
Get the function namejava.lang.String
getReference()
Get the function reference to be output for a help requestValueType
getResultType()
Get the result type-
Methods inherited from class com.igormaznitsa.jcp.expression.functions.AbstractStrConverter
getAllowedArgumentTypes, getArity
-
Methods inherited from class com.igormaznitsa.jcp.expression.functions.AbstractFunction
findForClass, findForName, getExpressionItemPriority, getExpressionItemType, toString
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:AbstractFunction
Get the function name- Specified by:
getName
in classAbstractFunction
- Returns:
- the function name in lower case, must not be null
-
executeStr
public Value executeStr(PreprocessorContext context, Value value)
- Specified by:
executeStr
in classAbstractStrConverter
-
getReference
public java.lang.String getReference()
Description copied from class:AbstractFunction
Get the function reference to be output for a help request- Specified by:
getReference
in classAbstractFunction
- Returns:
- the function information as a String, must not be null
-
getResultType
public ValueType getResultType()
Description copied from class:AbstractFunction
Get the result type- Specified by:
getResultType
in classAbstractFunction
- Returns:
- the result type of the function, must not be null
-
-