mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
getFileRef実装
This commit is contained in:
parent
c28d94e417
commit
8ca642c7f4
|
@ -68,8 +68,12 @@ public class FileManagerImpl implements FileManager {
|
|||
|
||||
@Override
|
||||
public File getFileRef() {
|
||||
if (this.isExist()) {
|
||||
return this.path.toFile();
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isExist() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user