logger.info("redirecting map file: " + mapFile); String contents = FileUtils.readFileToString(mapFile); SourceMapping mapping = SourceMapConsumerFactory.parse(contents);
/** * @param contents The string representing the source map file contents. * @return The parsed source map. * @throws SourceMapParseException */ public static SourceMapping parse(String contents) throws SourceMapParseException { return parse(contents, null); }
/** * @param contents The string representing the source map file contents. * @return The parsed source map. * @throws SourceMapParseException */ public static SourceMapping parse(String contents) throws SourceMapParseException { return parse(contents, null); }