1 7 package org.ejtools.archive.io; 8 9 import java.io.File ; 10 import java.io.FileInputStream ; 11 import java.util.zip.ZipInputStream ; 12 13 14 20 public class FileReader extends StreamReader 21 { 22 27 public FileReader(File file) 28 { 29 try 30 { 31 FileInputStream fis = new FileInputStream (file); 32 this.pushZipInputStream(new ZipInputStream (fis)); 33 } 34 catch (Exception ioe) 35 { 36 ioe.printStackTrace(); 37 } 38 } 39 } 40 | Popular Tags |