This commit is contained in:
r-ca 2024-01-09 13:51:19 +09:00
parent d88c9c2030
commit 022e7e278a
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ public interface FileManager {
File getFileRef();
boolean isExist(String name) throws IOException;
boolean isExist() throws IOException;
boolean isExist();
boolean isDirectory();
boolean isFile();
boolean isWritable();

View File

@ -77,7 +77,7 @@ public class FileManagerImpl implements FileManager {
}
@Override
public boolean isExist() throws IOException {
public boolean isExist(){
return Files.exists(this.path);
}