org.aludratest.service.file
Interface FileCondition

All Superinterfaces:
Action, Condition
All Known Implementing Classes:
FileActionImpl

public interface FileCondition
extends Condition

Condition interface of the FileService.

Author:
Volker Bergmann

Method Summary
 boolean exists(String filePath)
          Tells if a file or folder with the given path exists.
 boolean isDirectory(String filePath)
          Tells if the given path represents a directory.
 
Methods inherited from interface org.aludratest.service.Action
createAttachments, createDebugAttachments, setSystemConnector
 

Method Detail

exists

boolean exists(String filePath)
Tells if a file or folder with the given path exists.

Parameters:
filePath - the path of the file of which to check existence
Returns:
true if the file exists, otherwise false.

isDirectory

boolean isDirectory(String filePath)
Tells if the given path represents a directory.

Parameters:
filePath - the path of the file of which to check if it is a directory
Returns:
true if the file is a directory, otherwise false.


Copyright © 2015 aludratest.org. All rights reserved.