edu.rice.cs.drjava.config
Class RecursiveFileListProperty

java.lang.Object
  extended by edu.rice.cs.drjava.config.DrJavaProperty
      extended by edu.rice.cs.drjava.config.FileListProperty
          extended by edu.rice.cs.drjava.config.RecursiveFileListProperty
All Implemented Interfaces:
Cloneable

public class RecursiveFileListProperty
extends FileListProperty

Class representing a lazy lists of files that are found recursively inside a start directory.

Version:
$Id$

Nested Class Summary
static class RecursiveFileListProperty.FileMaskFilter
           
static class RecursiveFileListProperty.RegexFilter
           
 
Nested classes/interfaces inherited from class edu.rice.cs.drjava.config.DrJavaProperty
DrJavaProperty.InfiniteLoopException
 
Field Summary
protected  String _start
          Start directory.
 
Fields inherited from class edu.rice.cs.drjava.config.FileListProperty
_dir, _sep
 
Fields inherited from class edu.rice.cs.drjava.config.DrJavaProperty
_attributes, _help, _isCurrent, _listening, _name, _value, DEACTIVATED_DUE_TO_ERROR
 
Constructor Summary
RecursiveFileListProperty(String name, String sep, String dir, String start, String help)
          Create an recursive file list property.
 
Method Summary
protected  List<File> getList(PropertyMaps pm)
          Abstract factory method specifying the list.
 void resetAttributes()
          Reset the attributes.
 
Methods inherited from class edu.rice.cs.drjava.config.FileListProperty
invalidate, isCurrent, update
 
Methods inherited from class edu.rice.cs.drjava.config.DrJavaProperty
_invalidate, equals, getAttribute, getCurrent, getHelp, getLazy, getName, hashCode, invalidateOthers, listenToInvalidatesOf, setAttribute, setAttributes, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_start

protected String _start
Start directory.

Constructor Detail

RecursiveFileListProperty

public RecursiveFileListProperty(String name,
                                 String sep,
                                 String dir,
                                 String start,
                                 String help)
Create an recursive file list property.

Method Detail

getList

protected List<File> getList(PropertyMaps pm)
Abstract factory method specifying the list.

Specified by:
getList in class FileListProperty
Parameters:
pm - PropertyMaps used for substitution when replacing variables

resetAttributes

public void resetAttributes()
Reset the attributes.

Overrides:
resetAttributes in class FileListProperty