public interface PolyfillService
| Modifier and Type | Method and Description |
|---|---|
Map<String,Polyfill> |
getAllPolyfills()
Gets all the polyfills
|
Polyfill |
getPolyfill(String name)
Gets a Polyfill instance by the name of the polyfill.
|
List<Polyfill> |
getPolyfills(String uaString)
Return a list of polyfills containing all sources of polyfills using default query setting
Alias polyfill will expand into specific polyfills.
|
List<Polyfill> |
getPolyfills(String uaString,
Query query)
Return a list of polyfills containing all sources of polyfills.
|
String |
getPolyfillsSource(String uaString)
Return a string of the sources of requested polyfills using default query setting
|
String |
getPolyfillsSource(String uaString,
Query query)
Return a string of the sources of requested polyfills
Alias polyfill will expand into specific polyfills.
|
String |
getPolyfillsSource(String uaString,
Query query,
boolean isDebugMode)
Return a string of the sources of requested polyfills
Alias polyfill will expand into specific polyfills.
|
Polyfill getPolyfill(String name)
name - - the name of the polyfillMap<String,Polyfill> getAllPolyfills()
List<Polyfill> getPolyfills(String uaString)
uaString - user agent string; can be in normalized format e.g. chrome/53.0.0List<Polyfill> getPolyfills(String uaString, Query query)
uaString - user agent string; can be in normalized format e.g. chrome/53.0.0query - config object with information about what polyfills to getString getPolyfillsSource(String uaString)
uaString - user agent string; can be in normalized format e.g. chrome/53.0.0String getPolyfillsSource(String uaString, Query query)
uaString - user agent string; can be in normalized format e.g. chrome/53.0.0query - config object with information about what polyfills to getString getPolyfillsSource(String uaString, Query query, boolean isDebugMode)
uaString - user agent string; can be in normalized format e.g. chrome/53.0.0query - config object with information about what polyfills to getisDebugMode - whether to add debug information in the header before the polyfills sourceCopyright © 2017. All rights reserved.