程序包 cn.zhxu.bs.ex

类 ExportField

java.lang.Object
cn.zhxu.bs.ex.ExportField

public class ExportField extends Object
导出字段
从以下版本开始:
v4.5.0
作者:
Troy.Zhou @ 2025-08-28
  • 构造器详细资料

  • 方法详细资料

    • text

      public String text(Object obj)
      获取该字段根据表达式转换并且格式化后的文本
      参数:
      obj - 对象
      返回:
      字段文本
    • value

      public Object value(Object obj)
      获取字段原始值
      参数:
      obj - 对象
      返回:
      字段值
    • evaluate

      public Object evaluate(Object obj, Object value)
      根据表达式计算字段值
      参数:
      obj - 对象
      value - 值
      返回:
      计算结果
    • getExpresser

      public Expresser getExpresser()
    • getFormatter

      public Formatter getFormatter()
    • getField

      public Field getField()
    • getExIdx

      public int getExIdx()
    • getExName

      public String getExName()
    • getExpr

      public String getExpr()
    • getFormat

      public String getFormat()