2012-09-10 73 views

回答

0

試試這個:

ZipFile zf = new ZipFile(file); 
try { 
    InputStream in = zf.getInputStream(zf.getEntry("file.txt")); 
    // ... read from 'in' as normal 
} finally { 
    zf.close(); 
} 

欲瞭解更多信息請參閱this tutorial