资源简介
SSD3 Practical Quiz 9 EmployeeFileIO.Java 不坑人
代码片段和文件信息
import java.util.*;
import java.io.*;
/**
* This class provides two file I/O methods for handling employee data.
*
* @author author name
* @version 1.0.0
* @see Employee
*/
public class EmployeeFileIO {
/**
* Creates a vector of Employee
objects from a file that
* contains employee data.
*
* Every line in the specified file should contain three fields: ID name
* and salary of an employee in the following format: ID_name_salary
*
* @param filename the name of a file containing employee data.
* @return a vector of Employee
objects.
* @throws FileNotFoundException if the specified file does not exist.
* @throws IOException if an I/O error occurs.
* @throws NoSuchElementException if the data in the f
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2516 2017-05-29 23:38 EmployeeFileIO.java
评论
共有 条评论