InputStream is = blob.getBinaryStream();
if (is != null) {
String line;
BufferedReader reader = new BufferedReader(new InputStreamReader(is, "Big5"));
while ((line = reader.readLine()) != null) {
sb.append(line).append("\n");
}
}
System.out.println(sb.toString());
沒有留言:
發佈留言