`
516456267
  • 浏览: 3013 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论
文章列表
import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; private static int BUF = 1024 * 8; private static String folderPath = "F:\ ...
private void writeFile(String path, String content) { File file = null; FileOutputStream fos = null; try { file = new File(path); if (!file.exists()) { file.createNewFile(); } // append if true, then bytes will be written to the end of the file rather than the beginning ...
import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.xssf.usermodel.XSSFRow; import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache.poi.xssf.usermodel.XSSFWorkbook; InputStream is = ...
Global site tag (gtag.js) - Google Analytics