Revision: 4496
          http://vexi.svn.sourceforge.net/vexi/?rev=4496&view=rev
Author:   mkpg2
Date:     2013-03-20 12:40:22 +0000 (Wed, 20 Mar 2013)
Log Message:
-----------
Minor Change. Make it possible to initialise XML directly with a Reader (and 
not an InputStream).

Modified Paths:
--------------
    trunk/org.vexi-library.util/src/main/java/org/ibex/util/XML.java

Modified: trunk/org.vexi-library.util/src/main/java/org/ibex/util/XML.java
===================================================================
--- trunk/org.vexi-library.util/src/main/java/org/ibex/util/XML.java    
2013-03-20 12:14:44 UTC (rev 4495)
+++ trunk/org.vexi-library.util/src/main/java/org/ibex/util/XML.java    
2013-03-20 12:40:22 UTC (rev 4496)
@@ -136,7 +136,10 @@
     public int getGlobalOffset() { return base + off; }
 
     /** Set the reader used as a data source by the XML parser. */
-    
+    final public void parse(Reader in) throws Exn, IOException{
+       setInput(in);
+        parse();
+    }
     final public void parse(InputStream in) throws Exn, IOException{
        parse(in, "UTF-8");
     }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to