public class DumpArchiveSummary extends Object
For the corresponding C structure see the header of DumpArchiveEntry.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDevname()
Gets the device name, e.g., /dev/sda3 or /dev/mapper/vg0-home.
|
Date |
getDumpDate()
Gets the date of this dump.
|
String |
getFilesystem()
Gets the last mountpoint, e.g., /home.
|
int |
getFirstRecord()
Gets the inode of the first record on this volume.
|
int |
getFlags()
Gets the miscellaneous flags.
|
String |
getHostname()
Gets the hostname of the system where the dump was performed.
|
String |
getLabel()
Gets dump label.
|
int |
getLevel()
Gets the level of this dump.
|
int |
getNTRec()
Gets the number of records per tape block.
|
Date |
getPreviousDumpDate()
Gets the date of the previous dump at this level higher.
|
int |
getVolume()
Gets volume (tape) number.
|
int |
hashCode() |
boolean |
isCompressed()
Is this volume compressed? N.B., individual blocks may or may not be compressed.
|
boolean |
isExtendedAttributes()
Does this volume contain extended attributes.
|
boolean |
isMetaDataOnly()
Does this volume only contain metadata?
|
boolean |
isNewHeader()
Is this the new header format? (We do not currently support the
old format.)
|
boolean |
isNewInode()
Is this the new inode format? (We do not currently support the
old format.)
|
void |
setDevname(String devname)
Sets the device name.
|
void |
setDumpDate(Date dumpDate)
Sets dump date.
|
void |
setFilesystem(String fileSystem)
Sets the last mountpoint.
|
void |
setFirstRecord(int firstrec)
Sets the inode of the first record.
|
void |
setFlags(int flags)
Sets the miscellaneous flags.
|
void |
setHostname(String hostname)
Sets the hostname.
|
void |
setLabel(String label)
Sets dump label.
|
void |
setLevel(int level)
Sets level.
|
void |
setNTRec(int ntrec)
Sets the number of records per tape block.
|
void |
setPreviousDumpDate(Date previousDumpDate)
Sets previous dump date.
|
void |
setVolume(int volume)
Sets volume (tape) number.
|
public String getDevname()
public Date getDumpDate()
public String getFilesystem()
public int getFirstRecord()
public int getFlags()
public String getHostname()
public String getLabel()
public int getLevel()
public int getNTRec()
public Date getPreviousDumpDate()
public int getVolume()
public boolean isCompressed()
public boolean isExtendedAttributes()
public boolean isMetaDataOnly()
public boolean isNewHeader()
public boolean isNewInode()
public void setDevname(String devname)
devname - the device namepublic void setDumpDate(Date dumpDate)
dumpDate - the dump datepublic void setFilesystem(String fileSystem)
fileSystem - the last mountpointpublic void setFirstRecord(int firstrec)
firstrec - the first recordpublic void setFlags(int flags)
flags - flagspublic void setHostname(String hostname)
hostname - the host namepublic void setLabel(String label)
label - the labelpublic void setLevel(int level)
level - the levelpublic void setNTRec(int ntrec)
ntrec - the number of records per tape blockpublic void setPreviousDumpDate(Date previousDumpDate)
previousDumpDate - the previous dump datpublic void setVolume(int volume)
volume - the volume numberCopyright © 2002–2025. All rights reserved.