All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.nosqlbench.nb.api.markdown.providers.RawMarkdownSources Maven / Gradle / Ivy

package io.nosqlbench.nb.api.markdown.providers;

import io.nosqlbench.nb.api.content.Content;

import java.util.ArrayList;
import java.util.List;
import java.util.ServiceLoader;

/**
 * The internal
 */
public class RawMarkdownSources {

    public static List> getAllMarkdown() {
        ServiceLoader loader = ServiceLoader.load(RawMarkdownSource.class);
        List> content = new ArrayList<>();
        loader.iterator().forEachRemaining(d -> content.addAll(d.getMarkdownInfo()));
        return content;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy