Line By Line with adjustable interval....

hello...I'm going to be straight forward...I'm a noob and I have been charged with a task which is a bit over my head. I'm not looking for anyone to do anything for me (i.e. sample code)...I'm really only here for pointers..

My task is to implement a timer feature into buffered reader. basically I'm using a class which converts CSV to XML and I need to change it so that I am able to set a timer (basically) for how long the buffered reader object goes to the next line in the CSV file.

Am I barking up the right tree?

[545 byte] By [CallMeRexa] at [2007-11-27 7:03:59]
# 1

> hello...I'm going to be straight forward...I'm a noob

> and I have been charged with a task which is a bit

> over my head. I'm not looking for anyone to do

> anything for me (i.e. sample code)...I'm really only

> here for pointers..

>

> My task is to implement a timer feature into buffered

> reader. basically I'm using a class which converts

> CSV to XML and I need to change it so that I am able

> to set a timer (basically) for how long the buffered

> reader object goes to the next line in the CSV file.

>

>

> Am I barking up the right tree?

Hard to say.

What is the real issue here? Is another process/program writing to this file and you need to keep looking for updates?

cotton.ma at 2007-7-12 18:55:16 > top of Java-index,Java Essentials,Java Programming...
# 2

I'm working with a collection of classes. One which handles a user editable properties/config file...I plan to add a time interval variable to pass to a timer function later...I guess my real issue is this:

There are two other classes, one which stores single records of the CSV file in an array, and then another class which compiles all of the records into a larger array organized by an XML template in the config file I mentioned earlier.

My guess is that I need to put a timer function in the class which feeds the single records to the class which compiles all of the records and reorganizes them (just to prevent them from being made into an xml file all at once...because the end-user wants the xml file to slowly grow so the data can be tracked by a custom app on their end) The class I need to alter is feeding the records from the csv file to another class...is there any way to change the size of a buffered writer by way of a user determined variable?

CallMeRexa at 2007-7-12 18:55:16 > top of Java-index,Java Essentials,Java Programming...
# 3

> because the end-user wants the xml file to slowly grow so the data can be

> tracked by a custom app on their end...

Good grief. Why is that the bizarre requirements are always given to newbies to program? As if they didn't already have enough trouble learning the language.

I suppose the answer is that more experienced programmers would challenge the requirement rather than trying to implement it.

DrClapa at 2007-7-12 18:55:16 > top of Java-index,Java Essentials,Java Programming...