|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Instances of this class represent the name of a file or directory on the host file system. The NFile class is intended to provide an abstraction that deals with most of the machine-dependent complexities of files and pathnames in a machine-independent fashion.
The NFile interface is the replacement for the java.io.File class. It is defined in terms of File, in that all methods from File that could be implemented here have the same signature.
The com.novell.service.file.nw.NetwareFile interface extends the NFile interface. The NetwareFile interface provides methods for obtaining attribute values associated with a file object.
Method Summary | |
long |
lastModified()
Returns the time the file represented by this NFile object was last modified. |
long |
length()
Returns the length of the file represented by this NFile object. |
Method Detail |
public long lastModified()
The return value is system dependent. It should not be interpreted as an absolute time and should be used only to compare with other values returned by lastModified().
public long length()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |