public void close ( ) throws IOException { if ( jarOutputStream != null ) { jarOutputStream . close ( ) ; } else if ( os != null ) { os . close ( ) ; } }
Closes the archive and releases file system resources . No more files or directories may be added after calling this method .