|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrossi.fstools.fs.reiserfs.Item
rossi.fstools.fs.reiserfs.StatDataItem
rossi.fstools.fs.reiserfs.StatDataV2
Representation of a Stat data v2.
31 24 16 8 0
--------------------------------------
0000 | Mode | Attributes |
--------------------------------------
0004 | Num Links |
--------------------------------------
0008 | File Size |
--------------------------------------
000C | File Size |
--------------------------------------
0010 | User Id |
--------------------------------------
0014 | Group Id |
--------------------------------------
0018 | Access Id |
--------------------------------------
001C | Modify Time |
--------------------------------------
0020 | Changed Time |
--------------------------------------
0024 | Blocks |
--------------------------------------
0028 | Rdev/Generation |
--------------------------------------
| Field Summary | |
protected long |
accessTime
|
protected int |
attrs
|
protected long |
blocks
|
protected long |
changedTime
|
static int |
COMPR
|
protected long |
generation
|
protected long |
groupId
|
static int |
IMMUTABLE
|
protected int |
mode
|
protected long |
modifyTime
|
static int |
NOATIME
|
static int |
NODUMP
|
static int |
NOTAIL
|
protected long |
numLinks
|
static int |
SECRM
|
protected long |
size
|
static int |
SYNC
|
static int |
UNRM
|
protected long |
userId
|
| Fields inherited from class rossi.fstools.fs.reiserfs.Item |
block, buffer, bufferOffset, header |
| Fields inherited from interface rossi.fstools.fs.Inode |
BLOCKDEV_MODE, CHARDEV_MODE, DIRECTORY_MODE, FIFO_MODE, FILE_MODE, FILETYPE_MASK, SOCKET_MODE, SYMLINK_MODE |
| Constructor Summary | |
StatDataV2(byte[] buffer,
int bufferOffset,
LeafNode block,
ItemHead header)
|
|
| Method Summary | |
long |
getAccessTime()
Get the time the data was last accessed. |
int |
getAttrs()
|
long |
getBlocks()
|
long |
getChangedTime()
Get the time this Inode metadata was last changed. |
static int |
getDataSize()
|
long |
getGeneration()
|
long |
getGroupId()
Get the group id of the object's owner. |
int |
getMode()
Get the mode of the object. |
long |
getModifyTime()
Get the time the data was last modified. |
long |
getNumLinks()
Get the number of hard links to this file. |
int |
getRDev()
Get the device major/minor numbers. |
long |
getSize()
Get the size of the data associated with the object. |
long |
getUserId()
Get the user id of the object's owner. |
void |
load()
|
void |
setAccessTime(long aAccessTime)
|
void |
setAttrs(int aAttrs)
|
void |
setBlocks(long aBlocks)
|
void |
setChangedTime(long aChangedTime)
|
void |
setGeneration(long aGeneration)
|
void |
setGroupId(long aGroupId)
|
void |
setMode(int aMode)
Set the mode. |
void |
setModifyTime(long aModifyTime)
|
void |
setNumLinks(long aNumLinks)
|
void |
setSize(long aSize)
|
void |
setUserId(long aUserId)
|
| Methods inherited from class rossi.fstools.fs.reiserfs.StatDataItem |
create, toString |
| Methods inherited from class rossi.fstools.fs.reiserfs.Item |
getBlock, getBlockPointer, getBuffer, getBufferOffset, getHeader, getRawData, setBlock, setBuffer, setBufferOffset, setHeader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int mode
protected int attrs
protected long numLinks
protected long size
protected long userId
protected long groupId
protected long accessTime
protected long modifyTime
protected long changedTime
protected long blocks
protected long generation
public static final int IMMUTABLE
public static final int SYNC
public static final int NOATIME
public static final int NODUMP
public static final int SECRM
public static final int UNRM
public static final int COMPR
public static final int NOTAIL
| Constructor Detail |
public StatDataV2(byte[] buffer,
int bufferOffset,
LeafNode block,
ItemHead header)
throws FsException
| Method Detail |
public static int getDataSize()
public int getMode()
Inode
getMode in interface InodegetMode in class StatDataItempublic void setMode(int aMode)
Inode
setMode in interface InodesetMode in class StatDataItempublic int getAttrs()
public void setAttrs(int aAttrs)
public long getNumLinks()
Inode
getNumLinks in interface InodegetNumLinks in class StatDataItempublic void setNumLinks(long aNumLinks)
setNumLinks in interface InodesetNumLinks in class StatDataItempublic long getSize()
Inode
getSize in interface InodegetSize in class StatDataItempublic void setSize(long aSize)
setSize in interface InodesetSize in class StatDataItempublic long getUserId()
Inode
getUserId in interface InodegetUserId in class StatDataItempublic void setUserId(long aUserId)
setUserId in interface InodesetUserId in class StatDataItempublic long getGroupId()
Inode
getGroupId in interface InodegetGroupId in class StatDataItempublic void setGroupId(long aGroupId)
setGroupId in interface InodesetGroupId in class StatDataItempublic long getAccessTime()
Inode
getAccessTime in interface InodegetAccessTime in class StatDataItempublic void setAccessTime(long aAccessTime)
setAccessTime in interface InodesetAccessTime in class StatDataItempublic long getModifyTime()
Inode
getModifyTime in interface InodegetModifyTime in class StatDataItempublic void setModifyTime(long aModifyTime)
setModifyTime in interface InodesetModifyTime in class StatDataItempublic long getChangedTime()
Inode
getChangedTime in interface InodegetChangedTime in class StatDataItempublic void setChangedTime(long aChangedTime)
setChangedTime in interface InodesetChangedTime in class StatDataItempublic long getBlocks()
getBlocks in class StatDataItempublic void setBlocks(long aBlocks)
setBlocks in class StatDataItempublic long getGeneration()
public void setGeneration(long aGeneration)
public int getRDev()
StatDataItem
getRDev in class StatDataItem
public void load()
throws FsException
FsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||