/** * Closes the archive and does all required cleanup. * * @throws CoreException to signal any other unusual termination. * This can also be used to return information * in the status object. */ public void close() throws CoreException { if (fJarOutputStream != null) try { fJarOutputStream.close(); registerInWorkspaceIfNeeded(); } catch (IOException ex) { throw JarPackagerUtil.createCoreException(ex.getLocalizedMessage(), ex); } }
/** * Closes the archive and does all required cleanup. * * @throws CoreException to signal any other unusual termination. * This can also be used to return information * in the status object. */ public void close() throws CoreException { if (fJarOutputStream != null) try { fJarOutputStream.close(); registerInWorkspaceIfNeeded(); } catch (IOException ex) { throw JarPackagerUtil.createCoreException(ex.getLocalizedMessage(), ex); } }
/** * Closes the archive and does all required cleanup. * * @throws CoreException to signal any other unusual termination. * This can also be used to return information * in the status object. */ public void close() throws CoreException { if (fJarOutputStream != null) try { fJarOutputStream.close(); registerInWorkspaceIfNeeded(); } catch (IOException ex) { throw JarPackagerUtil.createCoreException(ex.getLocalizedMessage(), ex); } }