java.nio.file.Path 和 java.io.File 类都提供了一种从一个传递到另一个的方法。 1)在 toFile() 对象上调用 Path 返回代表它的 File 。 Path.toFile() javadoc:.
確定! 回上一頁