資源簡介
這是卡耐基梅隆大學的SSD指定教學體系,其中為SSD3 exercise6 的答案

代碼片段和文件信息
import?java.io.*;
/**
?*?This?interface?declares?a?method?for?obtaining?a?products?catalog.
?*
?*?@author?iCarnegie
?*?@version?1.1.0
?*?@see?Catalog
?*/
public?interface?CatalogLoader??{
/*
?*?Loads?the?product?catalog?with?the?data?in?the?specified?file.
?*
?*?@param?filename??The?name?of?a?file?that?contains?catalog
?*??????????????????information.
?*?@return?the?product?catalog.
?*?@throws?FileNotFoundException??if?the?specified?file?does?not
?*????????????????????????????????exist.
?*?@throws?IOException??if?there?is?an?error?reading?the
?*?????????????????????information?in?the?specified?file.
?*?@throws?DataFormatException??if?the?file?contains
?*?????????????????????????????????????badly-formed?data.
?*/
Catalog?loadCatalog(String?fileName)
throws?FileNotFoundException?IOException?DataFormatException;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????295??2008-12-12?19:35??exercise6\EX6\.classpath
?????文件????????379??2008-12-12?19:18??exercise6\EX6\.project
?????文件???????2135??2008-12-12?21:45??exercise6\EX6\catalog.dat
?????文件????????273??2008-12-12?19:35??exercise6\EX6\CatalogLoader.class
?????文件????????868??2008-12-12?19:34??exercise6\EX6\CatalogLoader.java
?????文件????????430??2008-12-12?19:35??exercise6\EX6\DataFormatException.class
?????文件????????560??2008-12-12?19:33??exercise6\EX6\DataFormatException.java
?????文件??????????0??2008-12-12?21:42??exercise6\EX6\empty.dat
?????文件???????2959??2008-12-12?21:48??exercise6\EX6\FileCatalogLoader.class
?????文件???????3571??2008-12-12?21:48??exercise6\EX6\FileCatalogLoader.java
?????文件???????4756??2008-12-12?21:46??exercise6\EX6\GourmetCoffee.class
?????文件???????5907??2008-12-13?00:10??exercise6\EX6\GourmetCoffee.java
?????文件???????4538??2008-12-12?20:16??exercise6\EX6\TestFileCatalogLoader.class
?????文件???????5379??2008-12-12?19:33??exercise6\EX6\TestFileCatalogLoader.java
?????文件?????188416??2008-12-05?12:17??exercise6\ex6.doc
?????文件??????35598??2008-12-05?12:17??exercise6\student-files.zip
?????目錄??????????0??2008-12-12?23:56??exercise6\EX6
?????目錄??????????0??2008-12-12?23:56??exercise6
-----------?---------??----------?-----??----
???????????????256064????????????????????18
- 上一篇:HTTP請求提交工具
- 下一篇:突破UDP包大小限制
評論
共有 條評論