anlavn.file.Excel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AL-Library_EN Show documentation
Show all versions of AL-Library_EN Show documentation
Java library for many thing wonderful
The newest version!
package anlavn.file;
// Make By Bình An || AnLaVN || KatoVN
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
/**The Excel class support to read/write data from/to excel file.
* @author AnLaVN - https://github.com/AnLaVN
*/
public class Excel {
/**Use this method to read data from Excel file at filePath location.
* @param filePath is specific location of Excel file, file name extension must be ".xlsx".
* @param workSheet is the name of the worksheet you want to work with.
* @return all data cell as Iterator from workSheet in Excel file.
* @throws java.io.FileNotFoundException
* @throws java.io.IOException
*/
public static Iterator
© 2015 - 2024 Weber Informatics LLC | Privacy Policy