|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectru.onego.industrial.catalog.util.ReplaceAllFunction
public class ReplaceAllFunction
Class implements adapter for Java API function replaceAll(regex, newValue).
| Constructor Summary | |
|---|---|
ReplaceAllFunction()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
exec(java.util.List params)
Core method. |
java.lang.String |
getName()
Return name of this function. |
int |
getParamCount()
Returns number of function parameters. |
java.lang.Class |
getParamType(int param)
Returns type of parameter, specified by the index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReplaceAllFunction()
| Method Detail |
|---|
public java.lang.String getName()
FunctionInterface
getName in interface FunctionInterface
public int getParamCount()
throws FunctionException
FunctionInterface
getParamCount in interface FunctionInterfaceFunctionException - Thrown if something goes wrong
public java.lang.Class getParamType(int param)
throws FunctionException
FunctionInterface
getParamType in interface FunctionInterfaceparam - Index of the parameter
FunctionException - Thrown if index out of bounbds
public java.lang.Object exec(java.util.List params)
throws FunctionException
FunctionInterface
exec in interface FunctionInterfaceparams - List of function parameters
FunctionException - Thrown if any error occur while executing function
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||