* String.toFile() for convenience
This commit is contained in:
parent
721af3e209
commit
060bb1f037
|
@ -299,4 +299,8 @@ public class ExpressionFormatMethods {
|
||||||
return attr.lastModifiedTime().toMillis();
|
return attr.lastModifiedTime().toMillis();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static File toFile(String self) {
|
||||||
|
return new File(self);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue