Package com.google.debugging.sourcemap
Class SourceMapConsumerFactory
- java.lang.Object
-
- com.google.debugging.sourcemap.SourceMapConsumerFactory
-
public final class SourceMapConsumerFactory extends java.lang.Object
Detect and parse the provided source map.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SourceMapping
parse(java.lang.String contents)
static SourceMapping
parse(java.lang.String contents, @Nullable SourceMapSupplier supplier)
-
-
-
Method Detail
-
parse
public static SourceMapping parse(java.lang.String contents) throws SourceMapParseException
- Parameters:
contents
- The string representing the source map file contents.- Returns:
- The parsed source map.
- Throws:
SourceMapParseException
-
parse
public static SourceMapping parse(java.lang.String contents, @Nullable SourceMapSupplier supplier) throws SourceMapParseException
- Parameters:
contents
- The string representing the source map file contents.supplier
- A supplier for any referenced maps.- Returns:
- The parsed source map.
- Throws:
SourceMapParseException
-
-