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

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

public static class GnuHeader.MultiVolume
extends TarHeader

This represents a file continued from another volume of a multi-volume archive created with the '--multi-volume' ('-M') option to gnu tar.

The original type of the file is not given here.

The size field gives the maximum size of this piece of the file (assuming the volume does not end before the file is written out).

The offset field gives the offset from the beginning of the file where this part of the file begins. Thus size plus offset should equal the original size of the file.


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

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