mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-30 03:23:16 +00:00
Module実装
This commit is contained in:
parent
a1c87535c6
commit
29e0dca2c7
|
@ -1,4 +1,20 @@
|
||||||
package one.nem.lacerta.source.file.module;
|
package one.nem.lacerta.source.file.module;
|
||||||
|
|
||||||
|
import java.nio.file.Path;
|
||||||
|
|
||||||
|
import dagger.assisted.Assisted;
|
||||||
|
import dagger.assisted.AssistedInject;
|
||||||
|
|
||||||
public class FileManagerModule {
|
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