Class FileLocator
java.lang.Object
de.uplanet.lucy.server.auxiliaries.FileLocator
Used to locate files in a hierarchy.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FileLocator
public FileLocator()
-
-
Method Details
-
locate
Test if a file exists in the specified subdirectory.Directory path may or may not end with a trailing slash.
- Parameters:
p_strBasePath
- The base path.p_strSubDir
- The subdirectory to look for the file.p_strFileName
- The file to locate.- Returns:
p_strBasePath + p_strSubDir + p_strFileName
if this file exists,p_strBasePath + p_strFileName
otherwise.
-
exists
-