类 AsciiFormat
- java.lang.Object
-
- cc.chungkwong.mathocr.common.format.AsciiFormat
-
- 所有已实现的接口:
TraceListFormat
public class AsciiFormat extends Object implements TraceListFormat
- 作者:
- Chan Chung Kwong
-
-
字段概要
字段 修饰符和类型 字段 说明 static intREFERENCE_SCALE
-
构造器概要
构造器 构造器 说明 AsciiFormat()AsciiFormat(double distThreholdPre)AsciiFormat(double distThresholdPre, double cosThresholdPre)
-
-
-
字段详细资料
-
REFERENCE_SCALE
public static final int REFERENCE_SCALE
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
getSuffix
public String getSuffix()
- 指定者:
getSuffix在接口中TraceListFormat
-
read
public TraceList read(File file) throws IOException
从接口复制的说明:TraceListFormatRead trace list from a file- 指定者:
read在接口中TraceListFormat- 参数:
file- the file- 返回:
- the trace list
- 抛出:
IOException
-
write
public void write(TraceList traceList, File file) throws IOException
从接口复制的说明:TraceListFormatSave trace list to a file- 指定者:
write在接口中TraceListFormat- 参数:
traceList- trace listfile- the file- 抛出:
IOException
-
write
public void write(TraceList traceList, Writer out) throws IOException
- 抛出:
IOException
-
-