| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.aplu.nxt.FileInfo
public class FileInfo
Structure that gives information about a leJOS NXJ file. Taken from the leJOS library (lejos.sourceforge.net), with thanks to the author.
| Field Summary | |
|---|---|
 byte | 
fileHandle
The handle for accessing the file.  | 
 java.lang.String | 
fileName
The name of the file - up to 20 characters.  | 
 int | 
fileSize
The size of the file in bytes.  | 
 int | 
startPage
The start page of the file in flash memory.  | 
 byte | 
status
The status of the file - not used.  | 
| Constructor Summary | |
|---|---|
FileInfo(java.lang.String fileName)
Constructs a FileInfo instance with given file name.  | 
|
| Method Summary | |
|---|---|
 void | 
show()
Show all file information in the debug console.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public java.lang.String fileName
public byte fileHandle
public int fileSize
public byte status
public int startPage
| Constructor Detail | 
|---|
public FileInfo(java.lang.String fileName)
fileName - the file name stored in the instance variable fileName| Method Detail | 
|---|
public void show()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||