public final class SourceMapConsumerFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static com.google.gson.JsonParser |
PARSER |
Modifier | Constructor and Description |
---|---|
private |
SourceMapConsumerFactory()
not constructible
|
Modifier and Type | Method and Description |
---|---|
static SourceMapping |
parse(java.lang.String contents) |
static SourceMapping |
parse(java.lang.String contents,
SourceMapSupplier supplier) |
public static SourceMapping parse(java.lang.String contents) throws SourceMapParseException
contents
- The string representing the source map file contents.SourceMapParseException
public static SourceMapping parse(java.lang.String contents, SourceMapSupplier supplier) throws SourceMapParseException
contents
- The string representing the source map file contents.supplier
- A supplier for any referenced maps.SourceMapParseException