diff options
Diffstat (limited to 'java/sql/SQLOutput.java')
-rw-r--r-- | java/sql/SQLOutput.java | 19 |
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. * |