File Search Lab (WSearch) - Adding Extension Filter
Worked my way through the WSearch Tutorial and am attempting the 'homework'.
Maybe you can push me in the right direction here.
I started out by making another String variable "extFilter" and started it as a null. getting the extension was easy but how do I handle a null?
I would like to say that if extFilter was null, use the constructor with 3 params and if it's not null than use a constructer for search that has 4 params. It seems that this would involve a lot of duplication of code - any hints as to which way I should go?
Cheers,
cbrad.)
Forum Rules/Features
Welcome to the WiBit.net forums! Check out our terms and features:
Hot Topic(s)
Annoy your friends
Is this something you think someone else would enjoy? Is it not for you, but do you know someone who is down with this type of content? Well share away:
Tweet
The Blog
Don't Let XML Make You a Cheater
This blog is a reminder that cheating in software development can get you into big trouble. Sometimes developers get really really lazy, OR are pressured to write something using overly simplified data structures. Almost every time this happens you are bitten in the butt! Sometimes the problems show up immediately and other times it may take months or years (especially in integrated systems).
- 1 of 78
- ››



















