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

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

public static class GnuHeader.SparseFile
extends TarHeader

This flag indicates that we are dealing with a sparse file. Note that archiving a sparse file requires special operations to find holes in the file, which mark the positions of these holes, along with the number of bytes of data to be found after the hole.


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.SparseFile()
           
 
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.SparseFile

public GnuHeader.SparseFile()
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.