/[classpath]/classpath/java/sql/Clob.java
ViewVC logotype

Diff of /classpath/java/sql/Clob.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by bryce, Fri Jun 21 05:34:12 2002 UTC revision 1.6 by mkoch, Sun Oct 12 16:38:16 2003 UTC
# Line 57  public interface Clob Line 57  public interface Clob
57    * @exception SQLException If an error occurs.    * @exception SQLException If an error occurs.
58    * @since 1.2    * @since 1.2
59    */    */
60    public long length() throws SQLException;    long length() throws SQLException;
61    
62    /**    /**
63     * This method returns the specified portion of the CLOB as a     * This method returns the specified portion of the CLOB as a
# Line 70  public interface Clob Line 70  public interface Clob
70     * @exception SQLException If an error occurs.     * @exception SQLException If an error occurs.
71     * @since 1.2     * @since 1.2
72     */     */
73    public String getSubString(long pos, int length) throws SQLException;    String getSubString(long pos, int length) throws SQLException;
74    
75    /**    /**
76     * This method returns a character stream that reads the contents of the     * This method returns a character stream that reads the contents of the
# Line 80  public interface Clob Line 80  public interface Clob
80     * @exception SQLException If an error occurs.     * @exception SQLException If an error occurs.
81     * @since 1.2     * @since 1.2
82     */     */
83    public Reader getCharacterStream() throws SQLException;    Reader getCharacterStream() throws SQLException;
84    
85    /**    /**
86     * This method returns a byte stream that reads the contents of the     * This method returns a byte stream that reads the contents of the
# Line 90  public interface Clob Line 90  public interface Clob
90     * @exception SQLException If an error occurs.     * @exception SQLException If an error occurs.
91     * @since 1.2     * @since 1.2
92     */     */
93    public InputStream getAsciiStream() throws SQLException;    InputStream getAsciiStream() throws SQLException;
94    
95    /**    /**
96     * This method returns the index into the CLOB of the first occurrence of     * This method returns the index into the CLOB of the first occurrence of
# Line 106  public interface Clob Line 106  public interface Clob
106     * @exception SQLException If an error occurs.     * @exception SQLException If an error occurs.
107     * @since 1.2     * @since 1.2
108     */     */
109    public long position(String searchstr, long start) throws SQLException;    long position(String searchstr, long start) throws SQLException;
110    
111    /**    /**
112     * This method returns the index into the CLOB of the first occurrence of     * This method returns the index into the CLOB of the first occurrence of
# Line 122  public interface Clob Line 122  public interface Clob
122     * @exception SQLException If an error occurs.     * @exception SQLException If an error occurs.
123     * @since 1.2     * @since 1.2
124     */     */
125    public long position(Clob searchstr, long start) throws SQLException;    long position(Clob searchstr, long start) throws SQLException;
126    
127    /**    /**
128     * @since 1.4     * @since 1.4
129     */     */
130    public int setString(long pos, String str) throws SQLException;    int setString(long pos, String str) throws SQLException;
131    
132    /**    /**
133     * @since 1.4     * @since 1.4
134     */     */
135    public int setString(long pos, String str, int offset, int len)    int setString(long pos, String str, int offset, int len)
136      throws SQLException;      throws SQLException;
137    
138    /**    /**
139     * @since 1.4     * @since 1.4
140     */     */
141    public OutputStream setAsciiStream(long pos) throws SQLException;    OutputStream setAsciiStream(long pos) throws SQLException;
142    
143    /**    /**
144     * @since 1.4     * @since 1.4
145     */     */
146    public Writer setCharacterStream(long pos) throws SQLException;    Writer setCharacterStream(long pos) throws SQLException;
147    
148    /**    /**
149     * @since 1.4     * @since 1.4
150     */     */
151    public void truncate(long len) throws SQLException;    void truncate(long len) throws SQLException;
152  }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26