按行读取String类型
BufferedReader br = new BufferedReader(new InputStreamReader(new ByteArrayInputStream(content.getBytes()), Charset.forName("utf8"))); String line; line = br.readLine();
BufferedReader br = new BufferedReader(new InputStreamReader(new ByteArrayInputStream(content.getBytes()), Charset.forName("utf8"))); String line; line = br.readLine();