public class ClassA {
public void makeStream (OutputStream oStream) {
ZipOutputStream stream = null;
try {
stream = new ZipOutputStream(oStream);
stream.write(7);
}
catch (IOException e) {
}
finally {
if (stream != null) {
try {
stream.close();
}
catch(IOException e) {
}
}
}
}
}
|
|