|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
com.ejie.r01f.sql.BLOBInputStream
LECTURA DE UN BLOB Clase Wrapper de un BlobInputStream para ser utilizada desde SQLHelpper Se encarga de obtener la conexión a la base de datos y liberarla cuando ya se ha leido todo el inputStream.
Method Summary | |
int |
available()
Devuelve el número de bytes disponibles para ser leidos |
void |
close()
|
void |
finalize()
Cerrar la conexión a base de datos en su caso |
int |
read()
Lee un byte del inputStream y lo devuelve |
int |
read(byte[] b)
Llena el array de bytes que se pasa como parametro |
int |
read(byte[] b,
int off,
int len)
Lee un numero de bytes a partir de un offset y los devuelve como un array de bytes |
long |
skip(long len)
Salta un número de bytes |
Methods inherited from class java.io.InputStream |
mark, markSupported, reset |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void finalize()
public int read() throws java.io.IOException
java.io.IOException
InputStream.read()
public int read(byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
InputStream.read(byte[], int, int)
public int read(byte[] b) throws java.io.IOException
java.io.IOException
InputStream.read(byte[])
public long skip(long len) throws java.io.IOException
java.io.IOException
InputStream.skip(long)
public int available() throws java.io.IOException
java.io.IOException
InputStream.available()
public void close() throws java.io.IOException
java.io.IOException
InputStream.close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |