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