java

How To Unzip Large File With Java

import java.io.*; import java.util.zip.*; public class UnZip { final static int BUFFER = 2048; // “/home/admin/Downloads/movies/stockv2@ingram.zip” public String unzipFile(String compressFilePath, String uncompressFolderPath){ String uncompressedFilePath=null; try { BufferedOutputStream dest = null; FileInputStream fis = new FileInputStream(compressFilePath); ZipInputStream zis = new ZipInputStream(new BufferedInputStream(fis)); ZipEntry entry; while((entry = zis.getNextEntry()) != null) { uncompressedFilePath=uncompressFolderPath+entry.getName(); System.out.println(“Extracting: ” +entry); int count;… Continue reading How To Unzip Large File With Java

JSP

Jsp Tutrial

Java Control in Scriptlets If Statement Switch Statement For Statement Try Statement Implicit Object application Get Initialization Parameters Set Attribute Get Attributes Remove Attribute Implicit Object config Get Initialization Parameters Initialization and Destruction Implicit Object exception Exception Implicit Object out Print Output Implicit Object pageContext Set/Remove Page Attribute Set/Remove Scoped Attribute Get Scoped Attributes Get… Continue reading Jsp Tutrial