Search in sources :

Example 1 with DirectoryListingInstaller

use of com.tyndalehouse.step.core.data.DirectoryListingInstaller in project step by STEPBible.

the class JSwordModuleServiceImpl method addDirectoryInstaller.

@Override
public BibleInstaller addDirectoryInstaller(final String directoryPath) {
    final DirectoryListingInstaller installer = new DirectoryListingInstaller(directoryPath, directoryPath);
    this.bookInstallers.add(installer);
    return new BibleInstaller(this.bookInstallers.size() - 1, installer.getInstallerName(), false);
}
Also used : DirectoryListingInstaller(com.tyndalehouse.step.core.data.DirectoryListingInstaller) BibleInstaller(com.tyndalehouse.step.core.models.BibleInstaller)

Aggregations

DirectoryListingInstaller (com.tyndalehouse.step.core.data.DirectoryListingInstaller)1 BibleInstaller (com.tyndalehouse.step.core.models.BibleInstaller)1