// 6-07 at the time import java.io.FileOutputStream; public class PoiDemo { public static void main(String[] args) { String filePath = "D:\\Project\\Output\\mypoi.xlsx"; File myFile = new File(filePath); Workbook workbook = new XSSFWorkbook();
FileOutputStream fout = new FileOutputStream(myFile); workbook.write(fout);
thank you
// 6-07 at the time
import java.io.FileOutputStream;
public class PoiDemo {
public static void main(String[] args) {
String filePath = "D:\\Project\\Output\\mypoi.xlsx";
File myFile = new File(filePath);
Workbook workbook = new XSSFWorkbook();
FileOutputStream fout = new FileOutputStream(myFile);
workbook.write(fout);
}
}