Call a resetDataBase void method, with no arguments. I asume it... resets the data base.
Create a new TextInputFile class, passing the file name as argument, and I asume it has all the bufferedwriter classes inside it.
While we didn't reach the end of the input file (btw it should be an OUTPUT file, you're READING it)...
...read a whole bunch of strings, each of these in a separated line.
...create a Character class passing an incorrect number of arguments (the lines read), which would throw an exception, BUT... I'll assume you overrided that constructor and created one of your own.
... and you insert this Character object by caling an unespecified "insertSingleChar" method, I'm not sure what it does.
Then you close the file, good call my young padawan.
If the integer variable numChar is bigger than zero, the method will return true. Unfortunally this will throw an nullPointerExecption, as this variable was not declared, alocated, and was never incremented. I'm assuming it's global, for some creepy reason.
Else... it returns false.
Ok, it's a method that's supposed to read a file and save it into a database, and if it reads nothing, it returns false, returning true otherwise. Unfortunally, for the reasons I have mentioned above, it wont work.
I'll post a link about how to make obscure, confusing code so that no one knows what's supposed to do, and no one can change it. It's hilarious, for those who know how to program.
