Hi,
I'm knocking up a File Browser for studying purposes and one of the features I would like to add to this sample app is "SEARCH IN FILES".
I am not sure I want to deflate ZIP, RAR and other compacted formats to look inside them. But one thing is for sure: I want to search at least within TXT files (XML, CSS, TXT, HTML...).
What is the best approach for doing that? I need something simple and stable, it doesn't need to be anything fancy nor SUPER-HYPER quick, although it shouldn't be SUPER slow either.
I know I can put something in place by searching the internet and using Java.io.*, but any feedback from someone who has already done that would be great.
Any tips on that?
Regards
I'm knocking up a File Browser for studying purposes and one of the features I would like to add to this sample app is "SEARCH IN FILES".
I am not sure I want to deflate ZIP, RAR and other compacted formats to look inside them. But one thing is for sure: I want to search at least within TXT files (XML, CSS, TXT, HTML...).
What is the best approach for doing that? I need something simple and stable, it doesn't need to be anything fancy nor SUPER-HYPER quick, although it shouldn't be SUPER slow either.
I know I can put something in place by searching the internet and using Java.io.*, but any feedback from someone who has already done that would be great.
Any tips on that?
Regards