| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileConnection
This class is defined by the JSR-75 specification PDA Optional Packages for the J2ME™ Platform
| Method Summary | |
|---|---|
|  void | create() | 
|  void | delete() | 
|  boolean | exists() | 
|  long | fileSize() | 
|  String | getName() | 
|  String | getPath() | 
|  String | getURL() | 
|  boolean | isDirectory() | 
|  boolean | isOpen() | 
|  DataInputStream | openDataInputStream()Open and return a data input stream for a connection. | 
|  DataOutputStream | openDataOutputStream()Open and return a data output stream for a connection. | 
|  InputStream | openInputStream()Open and return an input stream for a connection. | 
|  OutputStream | openOutputStream()Open and return an output stream for a connection. | 
|  OutputStream | openOutputStream(long byteOffset) | 
| Methods inherited from interface javax.microedition.io.Connection | 
|---|
| close | 
| Method Detail | 
|---|
boolean isOpen()
InputStream openInputStream()
                            throws IOException
InputConnection
openInputStream in interface InputConnectionIOException - If an I/O error occurs
DataInputStream openDataInputStream()
                                    throws IOException
InputConnection
openDataInputStream in interface InputConnectionIOException - If an I/O error occurs
OutputStream openOutputStream()
                              throws IOException
OutputConnection
openOutputStream in interface OutputConnectionIOException - If an I/O error occurs
DataOutputStream openDataOutputStream()
                                      throws IOException
OutputConnection
openDataOutputStream in interface OutputConnectionIOException - If an I/O error occurs
OutputStream openOutputStream(long byteOffset)
                              throws IOException
IOException
long fileSize()
              throws IOException
IOException
void create()
            throws IOException
IOExceptionboolean exists()
boolean isDirectory()
void delete()
            throws IOException
IOExceptionString getName()
String getPath()
String getURL()
| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||