mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
Module実装
This commit is contained in:
parent
4f762627cf
commit
734f6eb41d
|
@ -1,4 +1,20 @@
|
|||
package one.nem.lacerta.source.file.module;
|
||||
|
||||
import java.nio.file.Path;
|
||||
|
||||
import dagger.assisted.Assisted;
|
||||
import dagger.assisted.AssistedInject;
|
||||
|
||||
public class FileManagerModule {
|
||||
|
||||
private final Path rootDir;
|
||||
|
||||
@AssistedInject
|
||||
public FileManagerModule(@Assisted Path rootDir) {
|
||||
this.rootDir = rootDir;
|
||||
}
|
||||
|
||||
public Path getRootDir() {
|
||||
return rootDir;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user