public class StreamResultSet extends java.lang.Object implements IResultSet, IRSMetaData
Modifier and Type | Field and Description |
---|---|
protected static int |
FRANCE |
protected java.io.InputStream |
inStream |
protected static int |
REGION |
protected IResultSet |
rs |
protected static int |
US |
Constructor and Description |
---|
StreamResultSet() |
StreamResultSet(java.io.InputStream in)
Create a new StreamResult Object using the specified InputStream
|
StreamResultSet(java.io.InputStream in,
java.lang.String encoding)
Create a new StreamResult Object using the specified InputStream
|
Modifier and Type | Method and Description |
---|---|
void |
close()
For internal use
|
static java.lang.Object |
createObject(int dtype,
java.lang.Object elem,
java.io.StreamTokenizer st) |
int |
getColumnCount()
Get total number of columns
|
java.lang.String |
getColumnName(int col)
Get name of specified column
|
int |
getColumnType(int col)
Get type of specified column
|
IRSMetaData |
getMetaData()
Get original data
|
java.lang.Object |
getObject(int colNo)
Get object of specified column number
|
java.lang.String |
getTableName(int col) |
boolean |
next()
For internal use
|
static int |
readLine(java.io.StreamTokenizer st,
java.util.Vector vec,
boolean acceptNo)
For internal use
|
protected static final int US
protected static final int FRANCE
protected static final int REGION
protected java.io.InputStream inStream
protected IResultSet rs
public StreamResultSet()
public StreamResultSet(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public StreamResultSet(java.io.InputStream in, java.lang.String encoding) throws java.io.IOException
java.io.IOException
public boolean next() throws java.io.IOException
next
in interface IResultSet
java.io.IOException
public void close() throws java.io.IOException
close
in interface IResultSet
java.io.IOException
public java.lang.Object getObject(int colNo)
public IRSMetaData getMetaData()
getMetaData
in interface IResultSet
public int getColumnCount()
getColumnCount
in interface IRSMetaData
public java.lang.String getColumnName(int col)
getColumnName
in interface IRSMetaData
public java.lang.String getTableName(int col)
getTableName
in interface IRSMetaData
public int getColumnType(int col)
getColumnType
in interface IRSMetaData
Types
public static int readLine(java.io.StreamTokenizer st, java.util.Vector vec, boolean acceptNo) throws java.io.IOException
java.io.IOException
public static java.lang.Object createObject(int dtype, java.lang.Object elem, java.io.StreamTokenizer st) throws java.io.IOException
java.io.IOException