|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.network.MInputStream
public class MInputStream
| Constructor Summary | |
|---|---|
MInputStream(java.io.InputStream inputStream)
create a new instance of MInputStream |
|
MInputStream(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
create a new instance of MInputStream |
|
| Method Summary | |
|---|---|
void |
flush()
flush the current outputstream |
java.lang.String |
readLine()
read a line from inputstream |
void |
sendLine(java.lang.String line)
write a specified line in the outputStream stream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MInputStream(java.io.InputStream inputStream)
inputStream - is the inputStream where will be read the bytes
public MInputStream(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
inputStream - is the inputStream where will be read the bytesoutputStream - is the OutputStream where will be sent the bytes| Method Detail |
|---|
public java.lang.String readLine()
public void sendLine(java.lang.String line)
line - is the string to writepublic void flush()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||