|
Apime v1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.io.InputStream
java.io.DataInputStream
com.java4ever.apime.io.DataArrayInputStream
Stream de lectura de un array de bytes.
| Field Summary | |
protected byte[] |
data
Array de bytes. |
| Fields inherited from class java.io.DataInputStream |
in |
| Constructor Summary | |
DataArrayInputStream(byte[] data)
Crea el stream para un array de bytes. |
|
| Method Summary | |
byte[] |
getData()
Devuelve el array de bytes con el que se ha creado el stream. |
byte[] |
readData()
Devuelve un array con los datos que quedan por leer. |
byte[] |
readData(int limit)
Devuelve un array con los datos leídos. |
| Methods inherited from class java.io.DataInputStream |
available, close, mark, markSupported, read, read, read, readBoolean, readByte, readChar, readFully, readFully, readInt, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, reset, skip, skipBytes |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected byte[] data
| Constructor Detail |
public DataArrayInputStream(byte[] data)
data - Array de byte| Method Detail |
public byte[] getData()
public byte[] readData()
throws java.io.IOException
java.io.IOException
public byte[] readData(int limit)
throws java.io.IOException
limit - Número máximo de bytes a leer
java.io.IOException
|
Apime v1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||