net.sf.letsparty.driver.typehandlers
Class BinaryStreamHandler

java.lang.Object
  extended bynet.sf.letsparty.driver.typehandlers.AsciiStreamHandler
      extended bynet.sf.letsparty.driver.typehandlers.BinaryStreamHandler
All Implemented Interfaces:
TypeHandler

public class BinaryStreamHandler
extends AsciiStreamHandler


Field Summary
 
Fields inherited from class net.sf.letsparty.driver.typehandlers.AsciiStreamHandler
length, value
 
Constructor Summary
BinaryStreamHandler(java.io.InputStream value, int length)
           
 
Method Summary
 void setParameter(java.sql.PreparedStatement preparedStatement, int indexAt)
           
 
Methods inherited from class net.sf.letsparty.driver.typehandlers.AsciiStreamHandler
getValueAsObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryStreamHandler

public BinaryStreamHandler(java.io.InputStream value,
                           int length)
Method Detail

setParameter

public void setParameter(java.sql.PreparedStatement preparedStatement,
                         int indexAt)
                  throws java.sql.SQLException
Specified by:
setParameter in interface TypeHandler
Overrides:
setParameter in class AsciiStreamHandler
Throws:
java.sql.SQLException