Class DependencyOutputWriterFactory
java.lang.Object
io.github.slimjar.downloader.output.DependencyOutputWriterFactory
- All Implemented Interfaces:
OutputWriterFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull OutputWritercreate(@NotNull Dependency dependency) @NotNull FilePathStrategy
-
Constructor Details
-
DependencyOutputWriterFactory
@Contract(pure=true) public DependencyOutputWriterFactory(@NotNull @NotNull FilePathStrategy filePathStrategy)
-
-
Method Details
-
create
@Contract(value="_ -> new", pure=true) @NotNull public @NotNull OutputWriter create(@NotNull @NotNull Dependency dependency) - Specified by:
createin interfaceOutputWriterFactory
-
getStrategy
- Specified by:
getStrategyin interfaceOutputWriterFactory
-