public class MappingParser extends Object
Parses a JSON document containing web resource mappings.
JSON Example:{ "/jira/local/resource/url.css" : ["//remote/resource/url.css"], ... }| Constructor and Description |
|---|
MappingParser() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsString(MappingSet mappings) |
MappingSet |
parse(Reader mappingReader) |
@Nonnull public MappingSet parse(@Nonnull Reader mappingReader) throws MappingParserException
mappingReader - Reader pointing to the mapping file.MappingParserException@Nonnull public String getAsString(@Nonnull MappingSet mappings) throws IOException
IOExceptionCopyright © 2017 Atlassian. All rights reserved.