@Plugin(name="File", category="TypeConverter") public static class TypeConverters.FileConverter extends java.lang.Object implements TypeConverter<java.io.File>
String
into a File
.Constructor and Description |
---|
FileConverter() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
convert(java.lang.String s)
Converts a String to a given type.
|
public java.io.File convert(java.lang.String s)
TypeConverter
convert
in interface TypeConverter<java.io.File>
s
- the String to convert. Cannot be null
.