List of usage examples for java.io StringBufferInputStream available
public synchronized int available()
From source file:com.wabacus.config.database.type.DB2.java
public void setClobValue(int iindex, String value, PreparedStatement pstmt) throws SQLException { if (value == null) value = ""; StringBufferInputStream sbis = new StringBufferInputStream(value); pstmt.setAsciiStream(iindex, sbis, sbis.available()); }