?? xamdataaccessorxml.java
字號:
import java.io.*;import java.util.*;/** TestEdit Load/Save model - XML version. * Not written yet, but at least I thought of it. :-) * DOM will probably be a good approach here. */public class XamDataAccessorXML extends XamDataAccessor { public XamDataAccessorXML() { super(); } /** load one file, given an open BufferedReader */ public Exam load(BufferedReader is) throws IOException { throw new IllegalArgumentException( "XamDataAccessorXML cannot yet LOAD files"); // TODO: use DOM to parse it. } public void save(PrintWriter out, Exam model) { throw new IllegalArgumentException( "XamDataAccessorXML cannot yet SAVE files"); // TODO convert to DOM, and end with // tree.write(out); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -