Good day Roel.
I am not clear on what you are saying.
I have created a public class Validator that has public static methods. Each of these methods validates a certain field on the record.
When public void create(
String[] data) or update is called, I call the methods in Validator class to validate each of the data[] fields. This makes sure that the data being put into the system is always in the right format.
Because everything that goes into the system is always in the right format, there is no need for me to validate what comes out.
Is there a chance that what is already in the datafile is corrupt ? If this is the case, then I have no choice but add the validatios even if I am doing a read, to prevent the program from falling over