public class JavaScriptUtils extends Object
| 构造器和说明 |
|---|
JavaScriptUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
convertFromJs(Object value,
int type,
String fieldName) |
static BigDecimal |
jsToBigNumber(Object value,
String classType) |
static Date |
jsToDate(Object value,
String classType) |
static Long |
jsToInteger(Object value,
Class<?> clazz) |
static Number |
jsToNumber(Object value,
String classType) |
static String |
jsToString(Object value,
String classType) |
public static Object convertFromJs(Object value, int type, String fieldName) throws org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleValueExceptionpublic static Date jsToDate(Object value, String classType) throws org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleValueExceptionpublic static BigDecimal jsToBigNumber(Object value, String classType)
Copyright © 2024 Hitachi Vantara. All rights reserved.