[Schmitzm-commits] r1649 - trunk/schmitzm-core/src/main/java/de/schmitzm/io

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jul 26 19:16:37 CEST 2011


Author: alfonx
Date: 2011-07-26 19:16:36 +0200 (Tue, 26 Jul 2011)
New Revision: 1649

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/io/IOUtil.java
Log:


Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/io/IOUtil.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/io/IOUtil.java	2011-07-25 15:15:23 UTC (rev 1648)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/io/IOUtil.java	2011-07-26 17:16:36 UTC (rev 1649)
@@ -1507,6 +1507,11 @@
 	 *            {@link InputStream} to read from
 	 */
 	public static String convertStreamToString(InputStream is)
+	throws IOException {
+		return convertStreamToString(is,"UTF-8");
+	}
+	
+	public static String convertStreamToString(InputStream is, String charset)
 			throws IOException {
 		/*
 		 * To convert the InputStream to String we use the Reader.read(char[]



More information about the Schmitzm-commits mailing list