接口 TraceListFormat
-
- 所有已知实现类:
AsciiFormat,InkmlFormat,JsonFormat
public interface TraceListFormatFormat of trace list- 作者:
- Chan Chung Kwong
-
-
方法概要
所有方法 静态方法 实例方法 抽象方法 修饰符和类型 方法 说明 StringgetSuffix()TraceListread(File file)Read trace list from a filestatic TraceListreadFrom(File file)Read trace list from a filevoidwrite(TraceList traceList, File file)Save trace list to a filestatic voidwriteTo(TraceList traceList, File file)Save trace list to a file
-
-
-
方法详细资料
-
getSuffix
String getSuffix()
-
read
TraceList read(File file) throws IOException
Read trace list from a file- 参数:
file- the file- 返回:
- the trace list
- 抛出:
IOException
-
write
void write(TraceList traceList, File file) throws IOException
Save trace list to a file- 参数:
traceList- trace listfile- the file- 抛出:
IOException
-
readFrom
static TraceList readFrom(File file) throws IOException
Read trace list from a file- 参数:
file- the file- 返回:
- the trace list
- 抛出:
IOException
-
writeTo
static void writeTo(TraceList traceList, File file) throws IOException
Save trace list to a file- 参数:
traceList- trace listfile- the file- 抛出:
IOException
-
-