net.sourceforge.argval.utils
Interface LocateFile

All Known Implementing Classes:
PropertyLocatedFile

public interface LocateFile

Locates a File. Implementing classes may contain rules, for locating the file. A message can be gotten, which gives the details, why this file was returned.

Author:
T. Verhagen
See Also:
PropertyLocatedFile

Method Summary
 File getFile()
          Returns the File instance.
 String getFileMessage()
          Returns a message about how the file was located.
 

Method Detail

getFile

File getFile()
             throws FileNotFoundException
Returns the File instance.

Returns:
The File instance.
Throws:
FileNotFoundException - Is thrown in the case the file is not found.

getFileMessage

String getFileMessage()
Returns a message about how the file was located.

Returns:
A message about how the file was located.


Copyright © 2013 Verhagen Software. All Rights Reserved.