org.nutz.dao.util.blob
类 SimpleClob

java.lang.Object
  继承者 org.nutz.dao.util.blob.SimpleClob
所有已实现的接口:
java.sql.Clob

public class SimpleClob
extends java.lang.Object
implements java.sql.Clob


构造方法摘要
SimpleClob(java.io.File f)
           
 
方法摘要
 void free()
           
 java.io.InputStream getAsciiStream()
           
 java.io.Reader getCharacterStream()
           
 java.io.Reader getCharacterStream(long pos, long length)
           
 java.lang.String getSubString(long pos, int length)
           
 long length()
           
 long position(java.sql.Clob searchstr, long start)
           
 long position(java.lang.String searchstr, long start)
           
 java.io.OutputStream setAsciiStream(long pos)
           
 java.io.Writer setCharacterStream(long pos)
           
 int setString(long pos, java.lang.String str)
           
 int setString(long pos, java.lang.String str, int offset, int len)
           
 void truncate(long len)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SimpleClob

public SimpleClob(java.io.File f)
方法详细信息

length

public long length()
            throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 length
抛出:
java.sql.SQLException

getSubString

public java.lang.String getSubString(long pos,
                                     int length)
                              throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 getSubString
抛出:
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream()
                                  throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 getCharacterStream
抛出:
java.sql.SQLException

getAsciiStream

public java.io.InputStream getAsciiStream()
                                   throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 getAsciiStream
抛出:
java.sql.SQLException

position

public long position(java.lang.String searchstr,
                     long start)
              throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 position
抛出:
java.sql.SQLException

position

public long position(java.sql.Clob searchstr,
                     long start)
              throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 position
抛出:
java.sql.SQLException

setString

public int setString(long pos,
                     java.lang.String str)
              throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 setString
抛出:
java.sql.SQLException

setString

public int setString(long pos,
                     java.lang.String str,
                     int offset,
                     int len)
              throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 setString
抛出:
java.sql.SQLException

setAsciiStream

public java.io.OutputStream setAsciiStream(long pos)
                                    throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 setAsciiStream
抛出:
java.sql.SQLException

setCharacterStream

public java.io.Writer setCharacterStream(long pos)
                                  throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 setCharacterStream
抛出:
java.sql.SQLException

truncate

public void truncate(long len)
              throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 truncate
抛出:
java.sql.SQLException

free

public void free()
          throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 free
抛出:
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream(long pos,
                                         long length)
                                  throws java.sql.SQLException
指定者:
接口 java.sql.Clob 中的 getCharacterStream
抛出:
java.sql.SQLException