2012-09-10 76 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