posted 10 years ago
As with all programming projects, the first thing to do is break down the problem into manageable parts. I can think of about half a dozen methods you'd need to write to accomplish this task, and that's without writing/planning anything.
So how far have you gotten? What have you written? at the moment, we don't know if you need help installing the JDK, compiling your first program, parsing the variable/parameters, opening the file, or something else.
You'll find you'll get the best help if you as very specific, focused questions.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors