|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
com.ejie.r01f.sql.CLOBWriter
Clase Wrapper de un CLOBWriter para ser utilizada desde SQLHelpper Se encarga de obtener la conexión a la base de datos y liberarla cuando ya se ha escrito todo el inputStream.
Method Summary | |
void |
close()
Cierra el writer y hace un commit en la base de datos |
void |
finalize()
Cerrar la conexión a base de datos en su caso |
void |
flush()
|
void |
write(char[] c)
Escribte los caracteres de un array en el writer |
void |
write(char[] c,
int off,
int len)
Escribe en el writer un numero de caracteres de un array empezando por un offset |
void |
write(int c)
Escribe un caracter en el writer |
void |
write(java.lang.String str)
Escribe una cadena en el writer |
void |
write(java.lang.String str,
int off,
int len)
Escribe una porcion de una cadena: un numero de caracteres de la cadena empezando por un offset |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void finalize()
public void write(int c) throws java.io.IOException
java.io.IOException
Writer.write(int)
public void write(char[] c, int off, int len) throws java.io.IOException
c
- El array de caracteres a escribiroff
- El offset en el array de caracteres donde empiezan los char a escribirlen
- El numero de caracteres a partir del offset del array que hay que escribir
java.io.IOException
Writer.write(char[], int, int)
public void write(char[] c) throws java.io.IOException
c
- El array que contiene los caracteres a escribir
java.io.IOException
Writer.write(char[])
public void write(java.lang.String str, int off, int len) throws java.io.IOException
str
- La cadenaoff
- El offset dentro de la cadena donde empiezan los caracteres a escribir en el writerlen
- El numero de caracteres de la cadena a escribir en el writer
java.io.IOException
Writer.write(String, int, int)
public void write(java.lang.String str) throws java.io.IOException
str
- La cadena
java.io.IOException
Writer.write(String)
public void flush() throws java.io.IOException
java.io.IOException
Writer.flush()
public void close() throws java.io.IOException
java.io.IOException
Writer.close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |