|
||||||||||
| 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.StatDataV1
Representation of a Stat data v1.
31 24 16 8 0
--------------------------------------
0000 | Mode | Num Links |
--------------------------------------
0004 | User ID | Group Id |
--------------------------------------
0008 | File Size |
--------------------------------------
000C | Access Time |
--------------------------------------
0010 | Modify Time |
--------------------------------------
0014 | Changed Time |
--------------------------------------
0018 | Rdev/Blocks |
--------------------------------------
001C | FirstDirect |
--------------------------------------
| Field Summary | |
protected long |
accessTime
|
protected long |
blocks
|
protected long |
changedTime
|
protected long |
firstDirect
|
protected int |
groupId
|
protected int |
mode
|
protected long |
modifyTime
|
protected int |
numLinks
|
protected long |
size
|
protected int |
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 | |
StatDataV1(byte[] buffer,
int bufferOffset,
LeafNode block,
ItemHead header)
|
|
| Method Summary | |
long |
getAccessTime()
Get the time the data was last accessed. |
long |
getBlocks()
|
long |
getChangedTime()
Get the time this Inode metadata was last changed. |
static int |
getDataSize()
|
long |
getFirstDirect()
|
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 |
setBlocks(long aBlocks)
|
void |
setChangedTime(long aChangedTime)
|
void |
setFirstDirect(long aFirstDirect)
|
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 numLinks
protected int userId
protected int groupId
protected long size
protected long accessTime
protected long modifyTime
protected long changedTime
protected long blocks
protected long firstDirect
| Constructor Detail |
public StatDataV1(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 long getNumLinks()
Inode
getNumLinks in interface InodegetNumLinks in class StatDataItempublic void setNumLinks(long aNumLinks)
setNumLinks in interface InodesetNumLinks 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 getSize()
Inode
getSize in interface InodegetSize in class StatDataItempublic void setSize(long aSize)
setSize in interface InodesetSize 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 getFirstDirect()
public void setFirstDirect(long aFirstDirect)
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 | |||||||||