- All Implemented Interfaces:
Converter<File>
Class to convertFrom a given file name to a
File object
- Author:
- jschalanda
-
Constructor Summary
Constructors
-
Method Summary
Returns a
File instance representing the specified
String value.
Returns a
String instance representing the configuration parameter's value.
-
Constructor Details
-
FileConverter
public FileConverter()
-
Method Details
-
convertFrom
Returns a
File instance representing the specified
String value.
- Specified by:
convertFrom in interface Converter<File>
- Parameters:
value - The configuration parameter's String value
- Returns:
- A
File instance representing the configuration parameter's value
-
convertTo
Returns a
String instance representing the configuration parameter's value.
- Specified by:
convertTo in interface Converter<File>
- Parameters:
value - The configuration parameter's File representation
- Returns:
- A
String instance representing the configuration parameter's typed value