|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.io.InputStream
|
+--com.dctl.j2me.io.socket.SocketInputStream
This reads data in from a socket
| Method Summary | |
int |
available()
Return the number of available bytes in the buffer |
void |
close()
Close the socket |
int |
read()
Read one byte of data from the stream |
int |
read(byte[] buf,
int off,
int len)
Read into a buffer from the stream |
long |
skip(long n)
Skip a number of bytes |
| Methods inherited from class java.io.InputStream |
mark, markSupported, read, reset |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public int available()
throws IOException
available in class InputStreamIOException - if there is an error
public void close()
throws IOException
close in class InputStreamIOException - if there is an error
public int read()
throws IOException
read in interface Readableread in class InputStreamIOException - if there is an error
public int read(byte[] buf,
int off,
int len)
throws IOException
read in interface Readableread in class InputStreambuf - The bufferoff - The offset into the bufferlen - The maximum length to read
IOException - if there is an error
public long skip(long n)
throws IOException
skip in interface Readableskip in class InputStreamn - The number of bytes to skip
IOException - if there is an error
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||