summaryrefslogtreecommitdiff
path: root/java/sql/SQLOutput.java
diff options
context:
space:
mode:
authorWarren Levy <warrenl@redhat.com>2000-12-01 01:42:43 +0000
committerWarren Levy <warrenl@redhat.com>2000-12-01 01:42:43 +0000
commit80ccf43059c3e8e78f06e901b314489219b77c32 (patch)
treeb18164f6e811d5dadf1ec580dbffc4c7d82486c2 /java/sql/SQLOutput.java
parenta46c9b5a7f87c74c69ffde91e6eaf13203bef0d4 (diff)
downloadclasspath-80ccf43059c3e8e78f06e901b314489219b77c32.tar.gz
* java/sql/Array.java: Adjusted class signature to match spec.
* java/sql/BatchUpdateException.java: Ditto. * java/sql/Blob.java: Ditto. * java/sql/CallableStatement.java: Ditto. * java/sql/Clob.java: Ditto. * java/sql/DataTruncation.java: Ditto. * java/sql/Driver.java: Ditto. * java/sql/Ref.java: Ditto. * java/sql/ResultSetMetaData.java: Ditto. * java/sql/SQLData.java: Ditto. * java/sql/SQLException.java: Ditto. * java/sql/SQLInput.java: Ditto. * java/sql/SQLWarning.java: Ditto. * java/sql/Statement.java: Ditto. * java/sql/Struct.java: Ditto. * java/sql/Connection.java: Ditto. (setTransactionIsolation): Renamed to match the spec. * java/sql/DatabaseMetaData.java: Ditto on class signature. (supportsResultSetType): Renamed to match the spec. * java/sql/PreparedStatement.java: Ditto on class signature. (addBatch): New abstract method. * java/sql/ResultSet.java: Ditto on class signature. (first): returns boolean. (last): returns boolean. * java/sql/SQLOutput.java: Ditto on class signature. (writeAsciiStream): New abstract method. * java/sql/DriverManager.java (registerDriver): Throws SQLException. (deregisterDriver): Throws SQLException.
Diffstat (limited to 'java/sql/SQLOutput.java')
-rw-r--r--java/sql/SQLOutput.java19
1 files changed, 16 insertions, 3 deletions
diff --git a/java/sql/SQLOutput.java b/java/sql/SQLOutput.java
index 21717f899..c73e19455 100644
--- a/java/sql/SQLOutput.java
+++ b/java/sql/SQLOutput.java
@@ -1,5 +1,5 @@
/* SQLOutput.java -- Write SQL values to a stream
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,7 +38,7 @@ import java.math.BigDecimal;
*
* @author Aaron M. Renn (arenn@urbanophile.com)
*/
-public abstract interface SQLOutput
+public interface SQLOutput
{
/*************************************************************************/
@@ -226,7 +226,7 @@ writeCharacterStream(Reader value) throws SQLException;
/*************************************************************************/
/**
- * This method writes the specified ASCII text stream
+ * This method writes the specified uninterpreted binary byte stream
* to the SQL stream.
*
* @param value The value to write to the stream.
@@ -239,6 +239,19 @@ writeBinaryStream(InputStream value) throws SQLException;
/*************************************************************************/
/**
+ * This method writes the specified ASCII text stream
+ * to the SQL stream.
+ *
+ * @param value The value to write to the stream.
+ *
+ * @exception SQLException If an error occurs.
+ */
+public abstract void
+writeAsciiStream(InputStream value) throws SQLException;
+
+/*************************************************************************/
+
+/**
* This method writes the specified Java <code>SQLData</code> object
* to the SQL stream.
*