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