Package com.helger.html.resource.js
Interface IJSProvider
-
- All Superinterfaces:
IHTMLResourceProvider,Serializable
- All Known Subinterfaces:
IJSPathProvider
- All Known Implementing Classes:
ConstantJSPathProvider
@MustImplementEqualsAndHashcode public interface IJSProvider extends IHTMLResourceProvider
Base for external JS provider with all constraints- Author:
- Philip Helger
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_CONDITIONAL_COMMENT-
Fields inherited from interface com.helger.html.resource.IHTMLResourceProvider
DEFAULT_IS_BUNDLABLE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetConditionalComment()booleanisBundlable()
-
-
-
Field Detail
-
DEFAULT_CONDITIONAL_COMMENT
static final String DEFAULT_CONDITIONAL_COMMENT
-
-
Method Detail
-
getConditionalComment
@Nullable String getConditionalComment()
- Returns:
- The conditional comment required for this JS item or
nullif it applies to all browsers.
-
isBundlable
boolean isBundlable()
- Specified by:
isBundlablein interfaceIHTMLResourceProvider- Returns:
- Whether or not this script can be bundled to a big JS profile. For some files this is not possible.
-
-