|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface File
Provides a set of methods for file-system access.
all |
Method Summary | |
---|---|
String |
getName()
Returns the name of this File . |
int |
length()
Returns the length of this File . |
int |
seek(int offset,
boolean absolute)
Sets the read-pointer to a new position. |
Method Detail |
---|
String getName()
File
.
int length()
File
.
int seek(int offset, boolean absolute) throws IOException
offset
- the new positionabsolute
- if set offset
is relative to begin of FILE
otherwise relative to the
current read-pointer position
IOException
- if the new position is out of range
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |