M
Marco
Hi all,
Sorry for my possibly silly question...
I have an application that reads several (CSV) files from which it
expects certain headers, such as "Person Name", or "Order Number". We
use some common features for recognizing such headers, for instance:
trim() before equals(), configurable case-sensitivity, etc. My first
idea on how to deal with it, is simply to have a static
equals( string1, string2 ) function in some utility class. I wonder if
some convention/design pattern exists for such a case, if certain
names are used as best practice, etc.
Thanks in advance for any advice.
Sorry for my possibly silly question...
I have an application that reads several (CSV) files from which it
expects certain headers, such as "Person Name", or "Order Number". We
use some common features for recognizing such headers, for instance:
trim() before equals(), configurable case-sensitivity, etc. My first
idea on how to deal with it, is simply to have a static
equals( string1, string2 ) function in some utility class. I wonder if
some convention/design pattern exists for such a case, if certain
names are used as best practice, etc.
Thanks in advance for any advice.