📜  输入流到字符串 java 代码示例

📅  最后修改于: 2022-03-11 14:52:46.200000             🧑  作者: Mango

代码示例2
Scanner s = new Scanner(inputStream).useDelimiter("\\A");
 String result = s.hasNext() ? s.next() : "";