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

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

public static class GnuHeader.VolumeHeader
extends TarHeader.NamedHeader

This file type is used to mark the volume header that was given with the '--label=archive-label' ('-V archive-label') option in gnu tar when the archive was created.

The name field contains the name given after the '--label=archive-label' ('-V archive-label') option in gnu tar.

The size field is zero. Only the first file in each volume of an archive should have this type.


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.VolumeHeader(java.lang.String name)
           
 
Method Summary
 TarHeaderType getTarHeaderType()
          The TarHeaderType of this instance
 
Methods inherited from class uk.org.retep.util.io.tar.TarHeader.NamedHeader
getName
 
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.VolumeHeader

public GnuHeader.VolumeHeader(java.lang.String name)
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.