BufferedReader

ready()方法在缓冲区没有数据时就返回假

readline()方法读缓冲区数据,如果没有数据,则阻塞,如果流被关闭,返回null

posted on 2009-10-12 15:15  yangyh  阅读(183)  评论(0编辑  收藏  举报