use of org.pentaho.repo.model.RepositoryDirectory in project pentaho-kettle by pentaho.
the class RepositoryBrowserController method loadFilesAndFolders.
public RepositoryDirectory loadFilesAndFolders(String path) {
RepositoryDirectoryInterface repositoryDirectoryInterface = findDirectory(path);
RepositoryDirectory repositoryDirectory = RepositoryDirectory.build(null, repositoryDirectoryInterface);
populateFolders(repositoryDirectory, repositoryDirectoryInterface);
try {
populateFiles(repositoryDirectory, repositoryDirectoryInterface, FILTER);
} catch (KettleException ke) {
ke.printStackTrace();
}
return repositoryDirectory;
}
Aggregations