public interface WebResourceFormatter extends WebResourceFilter
The WebResourceFilter.matches(String) method should be called before calling formatResource(String, Map),
to ensure correct formatting of the resource.
| Modifier and Type | Field and Description |
|---|---|
static List<WebResourceFormatter> |
webResourceFormatters
The formatters used for normal output (rendering the current page).
|
| Modifier and Type | Method and Description |
|---|---|
String |
formatResource(String url,
Map<String,String> parameters)
Returns a formatted resource string.
|
matchesstatic final List<WebResourceFormatter> webResourceFormatters
Note that prefetch link formatting
(for WebResourceSet.writePrefetchLinks(java.io.Writer, com.atlassian.webresource.api.UrlMode))
does not use these formatters. See PrefetchLinkWebResource.
Copyright © 2017 Atlassian. All rights reserved.