Convert File to Path using toPath() method. Path object was introduced in Java 7. In this version of JDK, we can get the Path using the File.
確定! 回上一頁