bufferedreader.readline()
时间: 2023-09-18 22:14:10 浏览: 95
bufferedReader.readLine()是BufferedReader类中的一个方法,用于从输入流中读取一行文本。\[2\]该方法会一直阻塞,直到读取到换行符或者文件结束符。\[3\]在读取过程中,如果没有指定缓冲区大小,会使用默认的缓冲区大小,通常为8192个字符。\[3\]该方法返回的是读取到的一行文本内容,如果已经到达文件末尾,则返回null。\[2\]
#### 引用[.reference_title]
- *1* [关于BufferedReader.readLine()](https://blog.csdn.net/qq_57261286/article/details/126019138)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [2021.11.17 Java 带有缓冲区的字符流之BufferedReader readline()方法](https://blog.csdn.net/qq_43416650/article/details/121381780)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [BufferedReader的readLine方法](https://blog.csdn.net/VABTC/article/details/109174410)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文