⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tabledatainfo.java

📁 DBExplorer 强烈推荐的一个JAVA项目 数据导出功能 支持的格式HTML PDF XLS等 支持的数据库有MYSQL ORACLE MSSQLSERVER等
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -