tabledatainfo.java
来自「DBExplorer 强烈推荐的一个JAVA项目 数据导出功能 支持的格式HTM」· Java 代码 · 共 45 行
JAVA
45 行
package cn.com.qimingx.dbe;
import java.util.List;
import java.util.Map;
/**
* @author inc062805
*
* 表格数据描述对象
*/
public class TableDataInfo {
public static void main(String[] args) {
try {
// new TableDataInfo(0l, null).makePDFContent(null);
System.getProperties().list(System.out);
} catch (Exception e) {
e.printStackTrace();
}
}
private long total;
private List<Map<String, Object>> rows;
public TableDataInfo(long total, List<Map<String, Object>> rows) {
this.total = total;
this.rows = rows;
}
public long getTotal() {
return total;
}
public void setTotal(long total) {
this.total = total;
}
public List<Map<String, Object>> getRows() {
return rows;
}
public void setRows(List<Map<String, Object>> rows) {
this.rows = rows;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?