FileFinder is the tentative name I've given to this app. These are very handy to have built into a traditional OS. I think the one in Windows NT4 works quite well (Start->Find->Files&Folders). I would be interested in working with others on this app.
The main components would be:
- A
class bean that can take a directory and parse it recursively, returning the output in an abstract fashion. (This one is there now in org.jos.lib.file but without regex support --RalfStephan)
- A
class bean that handles filtering the output of the directory parser (above), to find file matches.
- Use of a regex bean for searching inside files.
- Then of course the UI classes. These should be done last, totally abstracted from the guts of the program of course.
-- (12/2/97)
I've been messing with
PrettyPrinter lately, but FileFinder was going to be my next project.
Of course, anyone can work on it, so I sent him back my ideas, a little more in depth than above. Here they are:
(ThomasĀ“ ideas regarding the file search were included in org.jos.lib.file.DirectoryScanner.java,
see org.jos.lib.file)
[...]
Then once we have the DirectoryParserBean, we would need to
work on the guts of FileFinder. I haven't laid out the rest
of it, but if you've worked with the File finder in Windows 95/NT,
then you can see what I'm basing my ideas off of. It is actually
a pretty good program, except it does not support regular
expression searching of text. We'll need some sort of RegexBean
to deal with Regex's in JOS.
-- (1/21/98 -- boy time flies!!)
What we really need is a way to upload source code to this server so
its easier to find it all. Either via FTP or (even better) through
HTTP file uploads.
--
/Wrt a source server: this might be needed for people who cannot afford their web space. This should be discussed in detail elsewhere.
--RalfStephan
As far as the regular expression searches go, can I assume that some standard form, such as PERL's regex syntax would be used, or would we creat an entirely new syntax?
8/13/98
MarkLeverentz
Back to JosAccessories
Content of these pages are owned and copyrighted by the poster.
|
Hosted by:
|
|