Package com.google.debugging.sourcemap
Class SourceMapConsumerFactory
- java.lang.Object
-
- com.google.debugging.sourcemap.SourceMapConsumerFactory
-
public final class SourceMapConsumerFactory extends java.lang.ObjectDetect and parse the provided source map.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SourceMappingparse(java.lang.String contents)static SourceMappingparse(java.lang.String contents, 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, 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
-
-