Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.imaginary.sql.msql.MsqlInputStream
Constructor Summary | |
MsqlInputStream(java.io.InputStream in)
Constructs an MsqlInputStream using an InputStream from a socket connecting the driver to the database. |
Method Summary | |
void | close()
Closes the stream. |
byte[] | read()
Reads data from the mSQL database as an array of bytes. |
java.lang.String | readString(java.lang.String encoding)
Instead of reading data raw, you can read it using the specified encoding. param encoding the encoding to use for the character set |
Methods inherited from class java.lang.Object | |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Constructor Detail |
public MsqlInputStream(java.io.InputStream in) throws java.io.IOException
in
- the InputStream representing data form the databaseMethod Detail |
public void close() throws java.io.IOException
public byte[] read() throws java.io.IOException
public java.lang.String readString(java.lang.String encoding) throws java.io.IOException
Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |