From 80ccf43059c3e8e78f06e901b314489219b77c32 Mon Sep 17 00:00:00 2001 From: Warren Levy Date: Fri, 1 Dec 2000 01:42:43 +0000 Subject: * 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. --- java/sql/SQLOutput.java | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'java/sql/SQLOutput.java') 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. @@ -238,6 +238,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 SQLData object * to the SQL stream. -- cgit v1.2.1