uk.ac.ed.inf.ogsaconfig.garm.util
Class FileTypeSet

java.lang.Object
  |
  +--uk.ac.ed.inf.ogsaconfig.garm.util.FileTypeSet

public class FileTypeSet
extends java.lang.Object

This class represents a set of FileTypes suitable for use as arguments to collections about what types they should operate on


Field Summary
static FileTypeSet ALL
           
 
Constructor Summary
FileTypeSet()
           
 
Method Summary
 void addType(FileType ft)
          adds a type to this set
 boolean containsType(FileType ft)
          returns true if the type is present
 void negate()
          inverts this set so all types not in it are present, and all types initially in it are not
 void removeType(FileType ft)
          removes a type from the set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final FileTypeSet ALL
Constructor Detail

FileTypeSet

public FileTypeSet()
Method Detail

addType

public void addType(FileType ft)
adds a type to this set


negate

public void negate()
inverts this set so all types not in it are present, and all types initially in it are not


containsType

public boolean containsType(FileType ft)
returns true if the type is present


removeType

public void removeType(FileType ft)
removes a type from the set