net.larsan.urd.util.fileset
Class ClassFileSet

java.lang.Object
  |
  +--net.larsan.urd.util.fileset.FileSet
        |
        +--net.larsan.urd.util.fileset.RegexpFileSet
              |
              +--net.larsan.urd.util.fileset.WatchedFileSet
                    |
                    +--net.larsan.urd.util.fileset.ClassFileSet
All Implemented Interfaces:
ResourceLocator, WatchableFileSet

public class ClassFileSet
extends WatchedFileSet

A class file set is a recursive file set that only looks for classes. This file set is watchable and synchronized by default.

Version:
Alpha-0.1 / 2002-10-06 21:37
Author:
Lars J. Nilsson

Field Summary
 
Fields inherited from class net.larsan.urd.util.fileset.RegexpFileSet
resources
 
Fields inherited from class net.larsan.urd.util.fileset.FileSet
root
 
Constructor Summary
ClassFileSet(java.io.File root)
          Construct file set with a root folder.
ClassFileSet(java.io.File root, java.util.Timer timer)
          Contruct a file with a root folder and an external timer that should be used for the file set watch mechanism.
 
Methods inherited from class net.larsan.urd.util.fileset.WatchedFileSet
addFileSetListener, removeFileSetListener, start, stop
 
Methods inherited from class net.larsan.urd.util.fileset.RegexpFileSet
getCertificates, getResource, getResourcePaths, scan
 
Methods inherited from class net.larsan.urd.util.fileset.FileSet
getErrorHandler, isRecursive, matches, resolvePath, setErrorHandler, setIsRecursive, setRegexpPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFileSet

public ClassFileSet(java.io.File root)
             throws java.io.IOException
Construct file set with a root folder. The contructor will throw an IOException if the root does not exist or is a file.


ClassFileSet

public ClassFileSet(java.io.File root,
                    java.util.Timer timer)
             throws java.io.IOException
Contruct a file with a root folder and an external timer that should be used for the file set watch mechanism. The contructor will throw an IOException if the root does not exist or is a file.