public class ClassA {
public void makeStream (InputStream iStream) {
ZipInputStream stream = null;
try {
stream = new ZipInputStream(iStream);
stream.read();
}
catch (IOException e) {
}
finally {
if (stream != null) {
try {
stream.close();
}
catch(IOException e) {
}
}
}
}
}
|
|