From 49386b54ba94e937a085f9484371a383d8905f0a Mon Sep 17 00:00:00 2001 From: David Gilbert Date: Sat, 22 Apr 2006 06:16:05 +0000 Subject: 2006-04-22 Carsten Neumann * javax/sql/Array.java: Fixed eclipse API doc warnings, named method parameters consistendly, documented some methods. * java/sql/Blob.java: Likewise. * java/sql/CallableStatement.java: Likewise. * java/sql/Clob.java: Likewise. * java/sql/Connection.java: Likewise. * java/sql/DatabaseMetaData.java: Likewise. * java/sql/Date.java: Likewise. * java/sql/Driver.java: Likewise. * java/sql/PreparedStatement.java: Likewise. * java/sql/ResultSet.java: Likewise. * java/sql/ResultSetMetaData.java: Likewise. * java/sql/SQLData.java: Likewise. * java/sql/SQLOutput.java: Likewise. * java/sql/SQLWarning.java: Likewise. * java/sql/Statement.java: Likewise. * java/sql/Time.java: Likewise. * java/sql/Timestamp.java: Likewise. ---------------------------------------------------------------------- --- java/sql/SQLOutput.java | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'java/sql/SQLOutput.java') diff --git a/java/sql/SQLOutput.java b/java/sql/SQLOutput.java index ae5523101..e210258fa 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, 2000, 2002, 2006, Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2002, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -173,28 +173,28 @@ public interface SQLOutput * This method writes the specified Java character stream * to the SQL stream. * - * @param value The value to write to the stream. + * @param stream The stream that holds the character data to write. * @exception SQLException If an error occurs. */ - void writeCharacterStream(Reader value) throws SQLException; + void writeCharacterStream(Reader stream) throws SQLException; /** * This method writes the specified ASCII text stream * to the SQL stream. * - * @param value The value to write to the stream. + * @param stream The stream that holds the ASCII data to write. * @exception SQLException If an error occurs. */ - void writeAsciiStream(InputStream value) throws SQLException; + void writeAsciiStream(InputStream stream) throws SQLException; /** * This method writes the specified uninterpreted binary byte stream * to the SQL stream. * - * @param value The value to write to the stream. + * @param stream The stream that holds the binary data to write. * @exception SQLException If an error occurs. */ - void writeBinaryStream(InputStream value) throws SQLException; + void writeBinaryStream(InputStream stream) throws SQLException; /** * This method writes the specified Java SQLData object @@ -209,17 +209,20 @@ public interface SQLOutput * This method writes the specified Java SQL Ref object * to the SQL stream. * - * @param value The value to write to the stream. + * @param value The Ref object to write to the stream. * @exception SQLException If an error occurs. + * @see Ref */ void writeRef(Ref value) throws SQLException; + /** * This method writes the specified Java SQL Blob object * to the SQL stream. * - * @param value The value to write to the stream. + * @param value The Blob object to write to the stream. * @exception SQLException If an error occurs. + * @see Blob */ void writeBlob(Blob value) throws SQLException; @@ -227,8 +230,9 @@ public interface SQLOutput * This method writes the specified Java SQL Clob object * to the SQL stream. * - * @param value The value to write to the stream. + * @param value The Clob object to write to the stream. * @exception SQLException If an error occurs. + * @see Clob */ void writeClob(Clob value) throws SQLException; @@ -236,8 +240,9 @@ public interface SQLOutput * This method writes the specified Java SQL Struct object * to the SQL stream. * - * @param value The value to write to the stream. + * @param value The Struct object to write to the stream. * @exception SQLException If an error occurs. + * @see Struct */ void writeStruct(Struct value) throws SQLException; @@ -251,6 +256,11 @@ public interface SQLOutput void writeArray(Array value) throws SQLException; /** + * This method writes the specified java.net.URL object to the + * SQL stream. + * + * @param value The value to write to the stream. + * @exception SQLException If an error occurs. * @since 1.4 */ void writeURL(URL value) throws SQLException; -- cgit v1.2.1