- package nju.seec.helper.util;
- import lombok.experimental.UtilityClass;
- import java.io.File;
- import java.nio.file.Paths;
- /**
- * @author cst
- */
- @UtilityClass
- public class FileUtils {
- public File getFile(String path) {
- return Paths.get(path).toFile();
- }
- }
|