🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.api
3 messages
3 total messages Started by Eric Orilla Fri, 22 Apr 2005 07:38
Monitoring Directory or File for any changes
#90
Author: Eric Orilla
Date: Fri, 22 Apr 2005 07:38
5 lines
1125 bytes
Hi there!
Is there any class/function in Java that can monitor certain directory and/or file for any changes? and if any change is detected an event is fired.

Thank you!
Re: Monitoring Directory or File for any changes
#91
Author: Kevin Dean [TeamB]
Date: Fri, 22 Apr 2005 17:07
25 lines
1692 bytes
Eric Orilla wrote:

> 
> Hi there!
> Is there any class/function in Java that can monitor certain
> directory and/or file for any changes? and if any change is detected
> an event is fired.
> 
> Thank you!

Not that I'm aware of.  That's an OS-specific function and is not
portable.

-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Re: Monitoring Directory or File for any changes
#92
Author: Lori M Olson [TeamB]
Date: Fri, 22 Apr 2005 17:35
35 lines
1960 bytes
Eric Orilla wrote:

> Hi there! Is there any class/function in Java that can monitor
> certain directory and/or file for any changes? and if any change is
> detected an event is fired.
> 
> Thank you!

Not yet.  Some work going on in the JDIC project supports this, but is
only implemented for Mac OSX at the moment.

https://jdic.dev.java.net/
https://jdic.dev.java.net/nonav/incubator/misc/javadoc/

You might want to get on the forums there and ask.  Maybe someone is 
working on it now.

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads