My code is BufferedReader fileReader = new BufferedReader(new FileReader(strFileName)); while ((strLine = fileReader.readLine()) != null) {
I am trying to read a file which has tabs and newline etc and the data is JSON format. When I read it using file.read()/readlines() etc, all the newlines and tabs are also read.
I have big file with row like ID|VALUE in one pass. In case of ID repeat, line must be ignored. How to effectively make this checking?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I wa开发者_如何学编程nt to pass lines of a file using strtok; the values are comma separated. However, strtok also reads blank lines which only contain spaces. Isn\'t it suppose to return a null point
I need some perl help in putting these (2) processes/code to work together. I was able to get them working individually to test, but I need help bringing them together especially with using the loop c
I have data files in text format which have several rows. Now there are certain rows that have wrong data which I need to update with those that have the correct data. For example,
I have implemented a log file that will be storing the cpu and memory state of a process after every minute.I have limited the maximum size of th开发者_如何学Ce file to 3MB (thats enough for my purpos
I have a device witch use binary format style config, and i have to generate that files on-the-fly. File structure must consist of a number of configuration settings (1 per parameter) each of the for
I have a file of size 2GB which has student records in it. I need to find students based on certain attributes in each record and create a new file with results. The order of the filtered students sho