You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2002/07/23 22:53:20 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl/io UTF8Reader.java
neilg 2002/07/23 13:53:20
Modified: java/src/org/apache/xerces/impl/io UTF8Reader.java
Log:
add back a constructor with only a Stream argument so that the build "tests" target will work again.
Revision Changes Path
1.5 +12 -1 xml-xerces/java/src/org/apache/xerces/impl/io/UTF8Reader.java
Index: UTF8Reader.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/io/UTF8Reader.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- UTF8Reader.java 17 Jul 2002 21:30:12 -0000 1.4
+++ UTF8Reader.java 23 Jul 2002 20:53:19 -0000 1.5
@@ -64,6 +64,7 @@
import java.util.Locale;
import org.apache.xerces.util.MessageFormatter;
+import org.apache.xerces.impl.msg.XMLMessageFormatter;
/**
* @author Andy Clark, IBM
@@ -111,6 +112,16 @@
//
// Constructors
//
+
+ /**
+ * Constructs a UTF-8 reader from the specified input stream
+ * using the default buffer size. Primarily for testing.
+ *
+ * @param inputStream The input stream.
+ */
+ public UTF8Reader(InputStream inputStream) {
+ this(inputStream, DEFAULT_BUFFER_SIZE, new XMLMessageFormatter(), Locale.getDefault());
+ } // <init>(InputStream, MessageFormatter)
/**
* Constructs a UTF-8 reader from the specified input stream
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org