|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream fr.lip6.sma.simulacion.app.ApplicationConsole.ConsoleInputStream
private class ApplicationConsole.ConsoleInputStream
Classe pour l'entrée.
Field Summary | |
---|---|
private List |
mData
Pile avec les octets disponibles. |
Constructor Summary | |
---|---|
ApplicationConsole.ConsoleInputStream()
Constructeur. |
Method Summary | |
---|---|
int |
available()
Retourne le nombre d'octets disponibles. |
void |
push(byte[] inBytes)
Ajoute des octets. |
int |
read()
Retourne le prochain octet. |
int |
read(byte[] outBytes,
int inOffset,
int inLength)
Lit plusieurs octets. |
Methods inherited from class java.io.InputStream |
---|
close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final List mData
Constructor Detail |
---|
public ApplicationConsole.ConsoleInputStream()
Method Detail |
---|
public int available()
available
in class InputStream
public int read()
read
in class InputStream
public int read(byte[] outBytes, int inOffset, int inLength)
read
in class InputStream
outBytes
- mémoire tampon pour les octets lusinOffset
- décalage dans la mémoire tampon.inLength
- nombre d'octets (maximum) à lire.
public void push(byte[] inBytes)
inBytes
- octets à ajouter dans la pile.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |