patch fin projet v1
This commit is contained in:
12
src/main/java/fr/eni/enchere/bll/FileService.java
Normal file
12
src/main/java/fr/eni/enchere/bll/FileService.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package fr.eni.enchere.bll;
|
||||
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Paths;
|
||||
|
||||
public class FileService {
|
||||
|
||||
public boolean fileExists(String filePath) {
|
||||
return Files.exists(Paths.get(filePath));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user