org.abraracourcix.alipes.alerters
Class DirChangeEmailAlerter

java.lang.Object
  extended byorg.abraracourcix.alipes.alerters.DirChangeEmailAlerter

public final class DirChangeEmailAlerter
extends java.lang.Object

Takes a directory, a filter, a stale interval, and watches those files to see if they're deleted/stale/created or change. Sends an email if so.

Author:
jdt

Method Summary
static void main(java.lang.String[] args)
          Set the wheels in motion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Set the wheels in motion

Parameters:
args - staletime(seconds) directory wildcards
Throws:
java.lang.InterruptedException - if you hit ctrl-C
java.io.IOException - if there's a prob finding the files


Copyright © 2004-2005 Abraracourcix. All Rights Reserved.