Maven module :un.storage : archive-tar :
Class :
un.storage.archive.tar.TarHeader
Extends/Implements : -
Subclasses : -
Variables :
name,
mode,
userId,
groupId,
size,
modTime,
checkSum,
linkFlag,
linkName,
magic,
userName,
groupName,
devMajor,
devMinor
Functions :
TarHeader,
getName,
parseOctal,
parseFileName,
parseName,
getFileNameBytes,
getNameBytes,
getOctalBytes,
getLongOctalBytes,
getCheckSumOctalBytes
public String
name
public int
mode
public int
userId
public int
groupId
public long
size
public long
modTime
public int
checkSum
public byte
linkFlag
public String
linkName
public String
magic
public String
userName
public String
groupName
public int
devMajor
public int
devMinor
public void
TarHeader ()
public String
getName ()
public long
parseOctal (byte[] header, int offset, int length)
public String
parseFileName (byte[] header)
public String
parseName (byte[] header, int offset, int length)
public int
getFileNameBytes (String newName, byte[] outbuf)
public int
getNameBytes (String name, byte[] buf, int offset, int length)
public int
getOctalBytes (long value, byte[] buf, int offset, int length)
public int
getLongOctalBytes (long value, byte[] buf, int offset, int length)
public int
getCheckSumOctalBytes (long value, byte[] buf, int offset, int length)
also holds a number of tar constants, used mostly in headers.
author Timothy Gerard Endres,