@Plugin(name="Path", category="TypeConverter") public static class TypeConverters.PathConverter extends java.lang.Object implements TypeConverter<java.nio.file.Path>
String into a Path.| Constructor and Description |
|---|
PathConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.Path |
convert(java.lang.String s)
Converts a String to a given type.
|
public java.nio.file.Path convert(java.lang.String s)
throws java.lang.Exception
TypeConverterconvert in interface TypeConverter<java.nio.file.Path>s - the String to convert. Cannot be null.java.lang.Exception - thrown when a conversion error occurs