jxDBCon 0.9z

org.sourceforge.jxdbcon
Class DefaultSQLInput

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.AbstractSQLInput
        |
        +--org.sourceforge.jxdbcon.DefaultSQLInput
All Implemented Interfaces:
SQLInput

public class DefaultSQLInput
extends AbstractSQLInput

DefaultSQLInput is a default implementation of AbstractSQLInput. This class can be used when the structure of the SQLData stream is known at initialisation time.

Version:
$Revision: 1.4 $, $Date: 2002/03/16 01:26:07 $
Author:
Keve Müller

Field Summary
(package private)  AbstractType[] at
           
(package private)  Object buf
           
(package private)  ConversionContext ctx
           
 
Constructor Summary
DefaultSQLInput(Object buf, AbstractType[] at, ConversionContext ctx)
           
 
Method Summary
protected  AbstractType getType(int idx)
          Return the AbstractType of the idexed element.
 
Methods inherited from class org.sourceforge.jxdbcon.AbstractSQLInput
readArray, readAsciiStream, readBigDecimal, readBinaryStream, readBlob, readBoolean, readByte, readBytes, readCharacterStream, readClob, readDate, readDouble, readFloat, readInt, readLong, readObject, readRef, readShort, readString, readTime, readTimestamp, readURL, wasNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

at

AbstractType[] at

buf

Object buf

ctx

ConversionContext ctx
Constructor Detail

DefaultSQLInput

public DefaultSQLInput(Object buf,
                       AbstractType[] at,
                       ConversionContext ctx)
Method Detail

getType

protected AbstractType getType(int idx)
Description copied from class: AbstractSQLInput
Return the AbstractType of the idexed element.

Specified by:
getType in class AbstractSQLInput

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.