com.rapidminer.operator.meta.branch
Class FileExistsCondition

java.lang.Object
  extended by com.rapidminer.operator.meta.branch.FileExistsCondition
All Implemented Interfaces:
ProcessBranchCondition

public class FileExistsCondition
extends java.lang.Object
implements ProcessBranchCondition

This condition tests if a file exists.

Author:
Sebastian Land

Constructor Summary
FileExistsCondition()
          Constructor used by reflection.
 
Method Summary
 boolean check(ProcessBranch operator, java.lang.String value)
          This method checks if the file with pathname value exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileExistsCondition

public FileExistsCondition()
Constructor used by reflection.

Method Detail

check

public boolean check(ProcessBranch operator,
                     java.lang.String value)
              throws OperatorException
This method checks if the file with pathname value exists.

Specified by:
check in interface ProcessBranchCondition
Parameters:
operator - the operator which checks this condition
value - the value to check if meets condition
Returns:
true if value meets condition, false otherwise
Throws:
OperatorException


Copyright © 2001-2009 by Rapid-I