librarycatalogloader.java

来自「ssd3的教程 是我们老师给我们的 纯英文 有兴趣的可以」· Java 代码 · 共 29 行

JAVA
29
字号
/**
 * This interface declares a method for obtaining a library catalog
 * from a file.
 *
 * @author author name
 * @version 1.1.0
 * @see Catalog
 */
public interface LibraryCatalogLoader  {

    /**
     * Loads the information in the specified file into a library
     * catalog and returns the catalog.
     *
     * @param filename  the name of the file that contains the
     *                  catalog data.
     * @return  a {@link 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 malformed
     *                             data.
     */
    Catalog loadCatalog(String filename) throws IOException,
                FileNotFoundException, DataFormatException;
}

⌨️ 快捷键说明

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