⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 catalogloader.java

📁 这是我修读美国卡耐基梅隆大学Carnegie Mellon University(CMU)课程ssd3:Object-Oriented Programming and Design时完成的课程设计
💻 JAVA
字号:
import java.io.*;

/**
 * This interface declares a method for obtaining a product catalog
 * from a file.
 *
 * @author 张维
 * @version 1.0.0
 * @see Catalog
 */
public interface CatalogLoader  {

	/*
	 * Loads the information in the specified file into a product
	 * catalog and returns the catalog.
	 *
	 * @param filename  The name of a file that contains catalog information.
	 * @return a 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;
}

⌨️ 快捷键说明

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