|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.compress.archivers.dump.DumpArchiveSummary
public class DumpArchiveSummary
This class represents identifying information about a Dump archive volume.
It consists the archive's dump date, label, hostname, device name and possibly
last mount point plus the volume's volume id andfirst record number.
For the corresponding C structure see the header of DumpArchiveEntry
.
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getDevname()
Get the device name, e.g., /dev/sda3 or /dev/mapper/vg0-home. |
Date |
getDumpDate()
Get the date of this dump. |
String |
getFilesystem()
Get the last mountpoint, e.g., /home. |
int |
getFirstRecord()
Get the inode of the first record on this volume. |
int |
getFlags()
Get the miscellaneous flags. |
String |
getHostname()
Get the hostname of the system where the dump was performed. |
String |
getLabel()
Get dump label. |
int |
getLevel()
Get the level of this dump. |
int |
getNTRec()
Get the number of records per tape block. |
Date |
getPreviousDumpDate()
Get the date of the previous dump at this level higher. |
int |
getVolume()
Get volume (tape) number. |
int |
hashCode()
|
boolean |
isCompressed()
Is this volume compressed? |
boolean |
isExtendedAttributes()
Does this volume cotain extended attributes. |
boolean |
isMetaDataOnly()
Does this volume only contain metadata? |
boolean |
isNewHeader()
Is this the new header format? |
boolean |
isNewInode()
Is this the new inode format? |
void |
setDevname(String devname)
Set the device name. |
void |
setDumpDate(Date dumpDate)
Set dump date. |
void |
setFilesystem(String filesystem)
Set the last mountpoint. |
void |
setFirstRecord(int firstrec)
Set the inode of the first record. |
void |
setFlags(int flags)
Set the miscellaneous flags. |
void |
setHostname(String hostname)
Set the hostname. |
void |
setLabel(String label)
Set dump label. |
void |
setLevel(int level)
Set level. |
void |
setNTRec(int ntrec)
Set the number of records per tape block. |
void |
setPreviousDumpDate(Date previousDumpDate)
Set previous dump date. |
void |
setVolume(int volume)
Set volume (tape) number. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Date getDumpDate()
public void setDumpDate(Date dumpDate)
public Date getPreviousDumpDate()
public void setPreviousDumpDate(Date previousDumpDate)
public int getVolume()
public void setVolume(int volume)
public int getLevel()
public void setLevel(int level)
public String getLabel()
public void setLabel(String label)
label
- public String getFilesystem()
public void setFilesystem(String filesystem)
public String getDevname()
public void setDevname(String devname)
devname
- public String getHostname()
public void setHostname(String hostname)
public int getFlags()
public void setFlags(int flags)
flags
- public int getFirstRecord()
public void setFirstRecord(int firstrec)
firstrec
- public int getNTRec()
public void setNTRec(int ntrec)
public boolean isNewHeader()
public boolean isNewInode()
public boolean isCompressed()
public boolean isMetaDataOnly()
public boolean isExtendedAttributes()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object o)
equals
in class Object
Object.equals(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |