|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An inode contains meta-data about a file system object.
| Field Summary | |
static int |
BLOCKDEV_MODE
|
static int |
CHARDEV_MODE
|
static int |
DIRECTORY_MODE
|
static int |
FIFO_MODE
|
static int |
FILE_MODE
A regular file |
static int |
FILETYPE_MASK
Mask for the portion of mode that determines object type. |
static int |
SOCKET_MODE
|
static int |
SYMLINK_MODE
|
| Method Summary | |
long |
getAccessTime()
Get the time the data was last accessed. |
long |
getChangedTime()
Get the time this Inode metadata was last changed. |
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. |
long |
getSize()
Get the size of the data associated with the object. |
long |
getUserId()
Get the user id of the object's owner. |
void |
setAccessTime(long aAccessTime)
|
void |
setChangedTime(long aChangedTime)
|
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)
|
| Field Detail |
public static final int FILETYPE_MASK
public static final int DIRECTORY_MODE
public static final int CHARDEV_MODE
public static final int BLOCKDEV_MODE
public static final int FILE_MODE
public static final int FIFO_MODE
public static final int SYMLINK_MODE
public static final int SOCKET_MODE
| Method Detail |
public int getMode()
public void setMode(int aMode)
aMode - the mode.getMode()public long getNumLinks()
public void setNumLinks(long aNumLinks)
public long getUserId()
public void setUserId(long aUserId)
public long getGroupId()
public void setGroupId(long aGroupId)
public long getSize()
public void setSize(long aSize)
public long getAccessTime()
public void setAccessTime(long aAccessTime)
public long getModifyTime()
public void setModifyTime(long aModifyTime)
public long getChangedTime()
public void setChangedTime(long aChangedTime)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||