|
" 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 InputConnection
IOException
- If an I/O error occursDataInputStream openDataInputStream() throws IOException
InputConnection
openDataInputStream
in interface InputConnection
IOException
- If an I/O error occursOutputStream openOutputStream() throws IOException
OutputConnection
openOutputStream
in interface OutputConnection
IOException
- If an I/O error occursDataOutputStream openDataOutputStream() throws IOException
OutputConnection
openDataOutputStream
in interface OutputConnection
IOException
- If an I/O error occursOutputStream openOutputStream(long byteOffset) throws IOException
IOException
long fileSize() throws IOException
IOException
void create() throws IOException
IOException
boolean exists()
boolean isDirectory()
void delete() throws IOException
IOException
String 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 |