formatter.java

来自「sample目录下是例子程序。 1.分组汇总例子 TestGroupRep」· Java 代码 · 共 34 行

JAVA
34
字号
package com.lucaslee.report;

import java.text.ParseException;

/**
 * 用于格式化数据的接口。
 * <p>
 * Title:
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: Copyright (c) 2003
 * </p>
 * <p>
 * Company:Lucas-lee Soft
 * </p>
 * 
 * @author Lucas Lee
 * @version 1.0
 */
public interface Formatter {

	/**
	 * 格式化字符串。
	 * 
	 * @param str
	 *            要格式化的字符串
	 * @return 格式化后的字符串
	 * @throws ReportException
	 */
	public abstract String format(String str) throws ParseException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?