@Immutable public class WebSiteResourceBundle extends Object
WebSiteResource objects that share the same
conditional comment and can be bundled with each other.| Constructor and Description |
|---|
WebSiteResourceBundle(List<WebSiteResourceWithCondition> aResources,
String sConditionalComment,
boolean bIsBundlable,
com.helger.css.media.ICSSMediaList aMediaList) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.helger.commons.collection.impl.ICommonsList<String> |
getAllResourcePaths() |
com.helger.commons.collection.impl.ICommonsList<WebSiteResource> |
getAllResources() |
String |
getConditionalComment() |
com.helger.css.media.ICSSMediaList |
getMediaList() |
com.helger.commons.mime.IMimeType |
getMimeType() |
WebSiteResource |
getResourceAtIndex(int nIndex) |
int |
getResourceCount() |
EWebSiteResourceType |
getResourceType() |
com.helger.html.hc.IHCNode |
getWrapped(com.helger.html.hc.IHCNode aNode) |
boolean |
hasConditionalComment() |
int |
hashCode() |
boolean |
hasMediaList() |
boolean |
isBundlable() |
String |
toString() |
@Nonnegative public int getResourceCount()
@Nonnull @Nonempty @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<WebSiteResource> getAllResources()
null nor
empty.@Nullable public WebSiteResource getResourceAtIndex(@Nonnegative int nIndex)
@Nonnull @Nonempty @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<String> getAllResourcePaths()
public boolean hasConditionalComment()
true if a conditional comment is present,
false if not.@Nullable public String getConditionalComment()
null if no such
conditional comment is present.public boolean isBundlable()
@Nullable public com.helger.css.media.ICSSMediaList getMediaList()
public boolean hasMediaList()
@Nonnull public EWebSiteResourceType getResourceType()
@Nonnull public com.helger.commons.mime.IMimeType getMimeType()
@Nonnull public com.helger.html.hc.IHCNode getWrapped(@Nonnull com.helger.html.hc.IHCNode aNode)
Copyright © 2014–2023 Philip Helger. All rights reserved.