public static String inputStream2String(InputStream is, String charset)
	{
		BufferedReader reader = null;
		StringBuilder sb = new StringBuilder();
		String line = null;
		if (null == charset)
		{
			charset = "utf-8";
		}
		
		try
		{
			reader = new BufferedReader(new InputStreamReader(is, charset));
			while ((line = reader.readLine()) != null)
			{
				sb.append(line + "/n");
			}
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}

		return sb.toString();
	}