| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.squawk.platform.BaseGCFFile
public abstract class BaseGCFFile
Base class of common implementation of GCFFile
| Field Summary | |
|---|---|
| static int | INVALID_HANDLE | 
| protected  String | nativeFileNameFile name. | 
| protected  int | readHandleRead handle. | 
| protected  int | writeHandleWrite handle. | 
| Constructor Summary | |
|---|---|
| BaseGCFFile() | |
| Method Summary | |
|---|---|
|  void | close()Close file associated with this handler. | 
|  void | closeForReadWrite()Closes the file for both reading and writing. | 
|  void | connect(String rootName,
        String fileName)Connect file handler to the abstract file target. | 
| static char | getFileSeparator()Gets the system-dependent file separator character. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.sun.squawk.platform.GCFFile | 
|---|
| closeForRead, closeForWrite, create, delete, exists, fileSize, flush, illegalFileNameChars, isDirectory, openForRead, openForWrite, positionForWrite, read, write | 
| Field Detail | 
|---|
public static final int INVALID_HANDLE
protected int readHandle
protected int writeHandle
protected String nativeFileName
| Constructor Detail | 
|---|
public BaseGCFFile()
| Method Detail | 
|---|
public void connect(String rootName,
                    String fileName)
connect in interface GCFFilerootName - The name of the root directory.fileName - Full path to the file to be handled by this handler.
IllegalArgumentException - if filename contains characters
 not allowed by the file system. This check should not involve
 any actual access to the filesystem.public static char getFileSeparator()
public void close()
           throws IOException
close in interface GCFFileIOException - if I/O error occurs
public void closeForReadWrite()
                       throws IOException
closeForReadWrite in interface GCFFileIOException - if any error occurs during input/output operations.| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||