Wild Cards for filenames in datasource.xml

Post ideas for new functionality you'd like to see in McIDAS-V or ideas for new tutorials.
Post Reply
User avatar
ghansham
Posts: 170
Joined: Thu Nov 11, 2010 5:40 pm

Wild Cards for filenames in datasource.xml

Post by ghansham »

Hi all

The pattern tag in the datasource.xml should allow linux wild cards like "?" and "*"
as they are easier to put in rather than java way of putting the regular expressions.
I mean this can be additional feature than java regular expressions.

It is much required when we are writing a plugin for new datasources.





Ghansham
User avatar
barryr
Posts: 213
Joined: Thu Jan 08, 2009 5:42 pm
Contact:

Re: Wild Cards for filenames in datasource.xml

Post by barryr »

Hi Ghansham,

Thank you for this request. I wrote it up as enhancement inquiry 2504.

Barry
User avatar
ghansham
Posts: 170
Joined: Thu Nov 11, 2010 5:40 pm

Re: Wild Cards for filenames in datasource.xml

Post by ghansham »

There are some cool utility classes in apache common io which help in this. You can use them.
User avatar
bobc
Posts: 928
Joined: Mon Nov 15, 2010 5:57 pm

Re: Wild Cards for filenames in datasource.xml

Post by bobc »

Thanks for the tip, Ghansham. Good timing as well since I just ran across this again today attempting to create a new data source. I briefly discussed this with one of our programmers who will try taking a look into this shortly. I'll keep you updated with any progress.

Bob Carp
Post Reply