Created
July 22, 2011 22:22
-
-
Save adamrabung/1100568 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) throws IOException { | |
ITimesheetDatabase db = new ConsoleTimesheetDatabase(); | |
IPathWatcher proj1 = new TimesheetPathWatcher(db, "Project Epsilon", Paths.get("c:\\temp\\epsilon"), Paths.get("c:\\temp\\epsilon2")); | |
IPathWatcher proj2 = new TimesheetPathWatcher(db, "Project Manhattan", Paths.get("c:\\temp\\manhattan")); | |
new DirectoryWatcher(proj1, proj2).processEvents(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment