Package com.helger.html.resource.js
Interface IJSPathProvider
-
- All Superinterfaces:
IHTMLResourceProvider,IJSProvider,Serializable
- All Known Implementing Classes:
ConstantJSPathProvider
@MustImplementEqualsAndHashcode public interface IJSPathProvider extends IJSProvider
Provides a path to an external JS object.- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from interface com.helger.html.resource.IHTMLResourceProvider
DEFAULT_IS_BUNDLABLE
-
Fields inherited from interface com.helger.html.resource.js.IJSProvider
DEFAULT_CONDITIONAL_COMMENT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetJSItemPath(boolean bRegular)Get the path to this JavaScript resource.-
Methods inherited from interface com.helger.html.resource.js.IJSProvider
getConditionalComment, isBundlable
-
-
-
-
Method Detail
-
getJSItemPath
@Nonnull @Nonempty String getJSItemPath(boolean bRegular)
Get the path to this JavaScript resource. It is always classpath relative.- Parameters:
bRegular- iftruethe regular version of item should be retrieved, otherwise the minified version of the file.- Returns:
- The path to the external JS item.
-
-