public class Downloader
The downloader class downloads anime themes from themes.moe using the
parsed arguments from class ArgumentParser
.
class ArgumentParser
Constructor and Description |
---|
Downloader(org.apache.commons.cli.CommandLine options)
The downloader class downloads anime themes from themes.moe using the
parsed arguments from
class ArgumentParser . |
Modifier and Type | Method and Description |
---|---|
void |
download()
Fetches the Anime Series from themes.moe and downloads them
in accordance with the parsed command line arguments
|
java.lang.String |
getDestination()
The target destination directory of the Files.
|
java.lang.String |
getMode()
The mode of the downloader, as parsed by the
class ArgumentParser |
org.apache.commons.cli.CommandLine |
getOptions()
The parsed command line arguments
|
net.namibsun.anitheme.dl.lib.parsing.ThemesMoeParser |
getParser()
The parser to use. It can be specified if openings or endings are excluded using
the command line arguments
|
public Downloader(org.apache.commons.cli.CommandLine options)
The downloader class downloads anime themes from themes.moe using the
parsed arguments from class ArgumentParser
.
options
- The parsed command line argumentsoptions
- The parsed command line argumentsclass ArgumentParser
public net.namibsun.anitheme.dl.lib.parsing.ThemesMoeParser getParser()
The parser to use. It can be specified if openings or endings are excluded using the command line arguments
public java.lang.String getMode()
The mode of the downloader, as parsed by the class ArgumentParser
class ArgumentParser
public java.lang.String getDestination()
The target destination directory of the Files.
public void download()
Fetches the Anime Series from themes.moe and downloads them in accordance with the parsed command line arguments
public org.apache.commons.cli.CommandLine getOptions()
The parsed command line arguments