From 4f9533c7722fa07511a94d005227961f4a4dec23 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 18 May 2006 17:29:21 +0000 Subject: Imported GNU Classpath 0.90 Imported GNU Classpath 0.90 * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale. * sources.am: Regenerated. * gcj/javaprims.h: Regenerated. * Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * gnu/java/lang/VMInstrumentationImpl.java: New override. * gnu/java/net/local/LocalSocketImpl.java: Likewise. * gnu/classpath/jdwp/VMMethod.java: Likewise. * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest interface. * java/lang/Thread.java: Add UncaughtExceptionHandler. * java/lang/reflect/Method.java: Implements GenericDeclaration and isSynthetic(), * java/lang/reflect/Field.java: Likewise. * java/lang/reflect/Constructor.java * java/lang/Class.java: Implements Type, GenericDeclaration, getSimpleName() and getEnclosing*() methods. * java/lang/Class.h: Add new public methods. * java/lang/Math.java: Add signum(), ulp() and log10(). * java/lang/natMath.cc (log10): New function. * java/security/VMSecureRandom.java: New override. * java/util/logging/Logger.java: Updated to latest classpath version. * java/util/logging/LogManager.java: New override. From-SVN: r113887 --- libjava/classpath/java/sql/SQLOutput.java | 72 ++++++++++++++++++------------- 1 file changed, 41 insertions(+), 31 deletions(-) (limited to 'libjava/classpath/java/sql/SQLOutput.java') diff --git a/libjava/classpath/java/sql/SQLOutput.java b/libjava/classpath/java/sql/SQLOutput.java index 8e6c88f8cf6..e210258fa0a 100644 --- a/libjava/classpath/java/sql/SQLOutput.java +++ b/libjava/classpath/java/sql/SQLOutput.java @@ -1,5 +1,5 @@ /* SQLOutput.java -- Write SQL values to a stream - Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2002, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -59,7 +59,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeString(String x) throws SQLException; + void writeString(String value) throws SQLException; /** * This method writes the specified Java boolean @@ -68,7 +68,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeBoolean(boolean x) throws SQLException; + void writeBoolean(boolean value) throws SQLException; /** * This method writes the specified Java byte @@ -77,7 +77,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeByte(byte x) throws SQLException; + void writeByte(byte value) throws SQLException; /** * This method writes the specified Java short @@ -86,7 +86,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeShort(short x) throws SQLException; + void writeShort(short value) throws SQLException; /** * This method writes the specified Java int @@ -95,7 +95,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeInt(int x) throws SQLException; + void writeInt(int value) throws SQLException; /** * This method writes the specified Java long @@ -104,7 +104,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeLong(long x) throws SQLException; + void writeLong(long value) throws SQLException; /** * This method writes the specified Java float @@ -113,7 +113,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeFloat(float x) throws SQLException; + void writeFloat(float value) throws SQLException; /** * This method writes the specified Java double @@ -122,7 +122,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeDouble(double x) throws SQLException; + void writeDouble(double value) throws SQLException; /** * This method writes the specified Java BigDecimal @@ -131,7 +131,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeBigDecimal(BigDecimal x) throws SQLException; + void writeBigDecimal(BigDecimal value) throws SQLException; /** * This method writes the specified Java byte array @@ -140,7 +140,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeBytes(byte[] x) throws SQLException; + void writeBytes(byte[] value) throws SQLException; /** * This method writes the specified Java java.sql.Date @@ -149,7 +149,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeDate(Date x) throws SQLException; + void writeDate(Date value) throws SQLException; /** * This method writes the specified Java java.sql.Time @@ -158,7 +158,7 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeTime(Time x) throws SQLException; + void writeTime(Time value) throws SQLException; /** * This method writes the specified Java java.sql.Timestamp @@ -167,34 +167,34 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeTimestamp(Timestamp x) throws SQLException; + void writeTimestamp(Timestamp value) throws SQLException; /** * 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 x) 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 x) 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 x) throws SQLException; + void writeBinaryStream(InputStream stream) throws SQLException; /** * This method writes the specified Java SQLData object @@ -203,43 +203,48 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeObject(SQLData x) throws SQLException; + void writeObject(SQLData value) throws SQLException; /** * 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 x) throws SQLException; + 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 x) throws SQLException; + void writeBlob(Blob value) throws SQLException; /** * 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 x) throws SQLException; + void writeClob(Clob value) throws SQLException; /** * 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 x) throws SQLException; + void writeStruct(Struct value) throws SQLException; /** * This method writes the specified Java SQL Array object @@ -248,10 +253,15 @@ public interface SQLOutput * @param value The value to write to the stream. * @exception SQLException If an error occurs. */ - void writeArray(Array x) throws SQLException; + 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 x) throws SQLException; + void writeURL(URL value) throws SQLException; } -- cgit v1.2.1