net.jangaroo.apprunner.util.AppsDeSerializer Maven / Gradle / Ivy
package net.jangaroo.apprunner.util;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.nio.file.Path;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
public class AppsDeSerializer {
private static final String PATH_PROPERTY = "path";
private static final String PATHS_PROPERTY = "paths";
private static final String CSS_PROPERTY = "css";
private static final String JS_PROPERTY = "js";
private static final String LOAD_ORDER_PROPERTY = "loadOrder";
public static List readApps(InputStream appsSource, Path rootPath) throws IOException {
@SuppressWarnings("unchecked") List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy