开发者

read from file with a delimiter

i want to know how can i read from file in java until the file pointer arrives at a delimiter or 开发者_如何学JAVAspecific number of characters.

in c++ i used from getline().


Well you can use BufferedReader.readLine(), or maybe the Scanner class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜