|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmoss.fs.MFile
public class MFile
This class is used to represent a "file-handle". It contains some basic data, plus a reference to the interface that performs operations for it.
| Field Summary | |
|---|---|
MDirOps |
dirif
implementation (for directories) |
MFileOps |
fileif
implementation (for files) |
int |
flags
flags associated with this descriptor (MFileOps.O_...) |
MInode |
inode
inode (if related to a file-system object) |
int |
offset
current file offset |
java.lang.Object |
pdata
private data hook for implementations |
int |
refcount
reference count |
| Constructor Summary | |
|---|---|
MFile()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int refcount
public java.lang.Object pdata
public int offset
public int flags
public MFileOps fileif
public MDirOps dirif
public MInode inode
| Constructor Detail |
|---|
public MFile()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||