예제 #1
0
파일: GLog.java 프로젝트: XuWei0205/Weather
 /** 将字符串转换为流 */
 public static InputStream getIsFromStr(String str) {
   InputStream myIn = null;
   try {
     myIn = new ByteArrayInputStream(str.getBytes());
   } catch (Exception e) {
     GLog.e("Error! ");
   }
   return myIn;
 }