public void putNextEntry ( TarEntry entry ) throws IOException { closeCurrentEntry ( ) ; byte [ ] header = new byte [ TarConstants . HEADER_BLOCK ] ; entry . writeEntryHeader ( header ) ; write ( header ) ; currentEntry = entry ; }
Writes the next tar entry header on the stream