tit.utility.Files Class Reference

List of all members.

Static Public Member Functions

static File searchFileIn (String[] directories, String filename) throws FileNotFoundException
static File searchFileInClassPath (String filename) throws FileNotFoundException
static File searchFileInHomeDirectory (String filename) throws FileNotFoundException
static File searchFileInWorkingDirectory (String filename) throws FileNotFoundException
static File searchFileInCurrentDirectory (String filename) throws FileNotFoundException
static File searchFileInRootDirectory (String filename) throws FileNotFoundException
static File searchFileInAllDirectories (String filename) throws FileNotFoundException

Detailed Description

Provides file-utilities.
Author:
Bart Sas


Member Function Documentation

static File tit.utility.Files.searchFileIn ( String[]  directories,
String  filename 
) throws FileNotFoundException [static]

Searches for a file

Parameters:
directories The directories to search in.
filename The file to search.
Returns:
The file.
Exceptions:
FileNotFoundException Is thrown when the file is not found.

static File tit.utility.Files.searchFileInClassPath ( String  filename  )  throws FileNotFoundException [static]

Searches for a file in the classpath.

Parameters:
filename The file to search.
Returns:
The file.
Exceptions:
FileNotFoundException Is thrown when the file is not found.

static File tit.utility.Files.searchFileInHomeDirectory ( String  filename  )  throws FileNotFoundException [static]

Searches for a file in the user's home directory.

Parameters:
filename The file to search.
Returns:
The file.
Exceptions:
FileNotFoundException Is thrown when the file is not found.

static File tit.utility.Files.searchFileInWorkingDirectory ( String  filename  )  throws FileNotFoundException [static]

Searches for a file in the working directory.

Parameters:
filename The file to search.
Returns:
The file.
Exceptions:
FileNotFoundException Is thrown when the file is not found.

static File tit.utility.Files.searchFileInCurrentDirectory ( String  filename  )  throws FileNotFoundException [static]

Searches for a file in the current directory.

Parameters:
filename The file to search.
Returns:
The file.
Exceptions:
FileNotFoundException Is thrown when the file is not found.

static File tit.utility.Files.searchFileInRootDirectory ( String  filename  )  throws FileNotFoundException [static]

Searches for a file in the root directory.

Parameters:
filename The file to search.
Returns:
The file.
Exceptions:
FileNotFoundException Is thrown when the file is not found.

static File tit.utility.Files.searchFileInAllDirectories ( String  filename  )  throws FileNotFoundException [static]

Searches for a file in all directories.

Parameters:
filename The file to search.
Returns:
The file.
Exceptions:
FileNotFoundException Is thrown when the file is not found.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:02 2007 by  doxygen 1.5.1