Package com.beust.jcommander.converters
Class PathConverter
- java.lang.Object
-
- com.beust.jcommander.converters.PathConverter
-
- All Implemented Interfaces:
IStringConverter<java.nio.file.Path>
public class PathConverter extends java.lang.Object implements IStringConverter<java.nio.file.Path>
Convert a string into a path.- Author:
- samvv
-
-
Constructor Summary
Constructors Constructor Description PathConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.Path
convert(java.lang.String value)
-
-
-
Method Detail
-
convert
public java.nio.file.Path convert(java.lang.String value)
- Specified by:
convert
in interfaceIStringConverter<java.nio.file.Path>
- Returns:
- an object of type
created from the parameter value.
-
-