uk.org.retep.util.io.tar
Class GnuHeader.DumpDir

java.lang.Object
  extended by uk.org.retep.util.io.tar.TarHeader
      extended by uk.org.retep.util.io.tar.GnuHeader.DumpDir
Enclosing class:
GnuHeader

public static class GnuHeader.DumpDir
extends TarHeader

This represents a directory and a list of files created by the '--incremental' ('-G') option to gnu tar.

The size field gives the total size of the associated list of files.

Each file name is preceded by either a 'Y' (the file should be in this archive) or an 'N'. (The file is a directory, or is not stored in the archive.)

Each file name is terminated by a null. There is an additional null after the last file name.


Nested Class Summary
 
Nested classes/interfaces inherited from class uk.org.retep.util.io.tar.TarHeader
TarHeader.FileHeader, TarHeader.NamedHeader
 
Field Summary
 
Fields inherited from class uk.org.retep.util.io.tar.TarHeader
BLOCK_SIZE, chksum, CHKSUM_SIZE, devmajor, DEVMAJOR_SIZE, devminor, DEVMINOR_SIZE, gid, GID_SIZE, gname, GNAME_SIZE, linkname, LINKNAME_SIZE, mode, MODE_SIZE, mtime, MTIME_SIZE, name, NAME_SIZE, prefix, PREFIX_SIZE, prevHeader, size, SIZE_SIZE, succHeader, uid, UID_SIZE, uname, UNAME_SIZE, version
 
Constructor Summary
GnuHeader.DumpDir()
           
 
Method Summary
 TarHeaderType getTarHeaderType()
          The TarHeaderType of this instance
 
Methods inherited from class uk.org.retep.util.io.tar.TarHeader
allocateTarHeader, chain, checksum, get, getAdditionalSize, getBlockSize, getPrevHeader, getSuccHeader, getTarHeaderSize, put, putAdditional, setPrevHeader, setSuccHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GnuHeader.DumpDir

public GnuHeader.DumpDir()
Method Detail

getTarHeaderType

public TarHeaderType getTarHeaderType()
Description copied from class: TarHeader
The TarHeaderType of this instance

Specified by:
getTarHeaderType in class TarHeader
Returns:
TarHeaderType of this instance


Copyright © 1998-2010 Retep Development Group. All Rights Reserved.