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.
精彩评论