au.com.bytecode.opencsv
Class MockClob
java.lang.Object
au.com.bytecode.opencsv.MockClob
- All Implemented Interfaces:
- Clob
public class MockClob
- extends Object
- implements Clob
Created by IntelliJ IDEA.
User: scott
Date: Dec 15, 2009
Time: 10:10:02 PM
To change this template use File | Settings | File Templates.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockClob
public MockClob(String value)
length
public long length()
throws SQLException
- Specified by:
length in interface Clob
- Throws:
SQLException
getSubString
public String getSubString(long l,
int i)
throws SQLException
- Specified by:
getSubString in interface Clob
- Throws:
SQLException
getCharacterStream
public Reader getCharacterStream()
throws SQLException
- Specified by:
getCharacterStream in interface Clob
- Throws:
SQLException
getAsciiStream
public InputStream getAsciiStream()
throws SQLException
- Specified by:
getAsciiStream in interface Clob
- Throws:
SQLException
position
public long position(String s,
long l)
throws SQLException
- Specified by:
position in interface Clob
- Throws:
SQLException
position
public long position(Clob clob,
long l)
throws SQLException
- Specified by:
position in interface Clob
- Throws:
SQLException
setString
public int setString(long l,
String s)
throws SQLException
- Specified by:
setString in interface Clob
- Throws:
SQLException
setString
public int setString(long l,
String s,
int i,
int i1)
throws SQLException
- Specified by:
setString in interface Clob
- Throws:
SQLException
setAsciiStream
public OutputStream setAsciiStream(long l)
throws SQLException
- Specified by:
setAsciiStream in interface Clob
- Throws:
SQLException
setCharacterStream
public Writer setCharacterStream(long l)
throws SQLException
- Specified by:
setCharacterStream in interface Clob
- Throws:
SQLException
truncate
public void truncate(long l)
throws SQLException
- Specified by:
truncate in interface Clob
- Throws:
SQLException
free
public void free()
throws SQLException
- Throws:
SQLException
getCharacterStream
public Reader getCharacterStream(long l,
long l1)
throws SQLException
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.