code: protected void closeCurrentEntry() throws IOException {
  		if (currentEntry != null) {
  			if (currentEntry.getSize() > currentFileSize) {
  				// Not fully read, skip rest of the bytes
  				long bs = 0;
  				while (bs < currentEntry.getSize() - currentFileSize) {
  					long res = skip(currentEntry.getSize() - currentFileSize - bs);
  
  					if (res == 0 && currentEntry.getSize() - currentFileSize > 0) {
  						// I suspect file corruption
  						throw new IOException("Possible tar file corruption");
  					}
  
  					bs += res;
  				}
  			}
  
  			currentEntry = null;
  			currentFileSize = 0L;
  			skipPad();
  		}
  	}
docs: Closes the current tar entry
  
  @throws IOException