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

io.github.ncasaux.camelplantuml.generator.FooterDiagramGenerator Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
package io.github.ncasaux.camelplantuml.generator;

import org.apache.commons.io.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.Objects;

public class FooterDiagramGenerator {

    private static final Logger LOGGER = LoggerFactory.getLogger(FooterDiagramGenerator.class);

    public static String generateUmlString() throws IOException {

        return IOUtils.toString(Objects.requireNonNull(FooterDiagramGenerator.class.getClassLoader().getResourceAsStream("plantuml/footerTemplate")), StandardCharsets.UTF_8);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy