Article View: borland.public.jbuilder.java.api
Article #91Re: Monitoring Directory or File for any changes
From: Kevin Dean [TeamB]
Date: Fri, 22 Apr 2005 17:07
Date: Fri, 22 Apr 2005 17:07
25 lines
1692 bytes
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
Technical Details
Message-ID:
<xn0e1az1vdymh5002-kdean@www.teamb.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4268aa0f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,eb917244e3dfc6f3
X-Google-Attributes: gid1089d0,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: Monitoring Directory or File for any changes
Newsgroups: borland.public.jbuilder.java.api
References: <4268aa0f$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.3.1
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr
p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0e1az1vdymh5002-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:00000189
NNTP-Posting-Host: 24.57.153.235
Date: 22 Apr 2005 10:07:38 -0700
X-Trace: newsgroups.borland.com 1114189658 24.57.153.235 (22 Apr 2005 10:07:38 -0700)
Lines: 25
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail