private EWebCtrlsCSSPathProvider (@Nonnull @Nonempty final String sPath, @Nullable final String sConditionalComment) { m_aPP = new ConstantCSSPathProvider (sPath, sConditionalComment, (ICSSMediaList) null); }
private EBootstrapCSSPathProvider (@Nonnull @Nonempty final String sPath, @Nullable final String sConditionalComment) { m_aPP = new ConstantCSSPathProvider (sPath, sConditionalComment, (ICSSMediaList) null); }
@Nonnull public static ConstantCSSPathProvider createBundlable (@Nonnull @Nonempty final String sPath, @Nullable final ICSSMediaList aMediaList, final boolean bBundlable) { return new ConstantCSSPathProvider (sPath, CSSFilenameHelper.getMinifiedCSSFilename (sPath), DEFAULT_CONDITIONAL_COMMENT, aMediaList, bBundlable); } }
@Nonnull public static ConstantCSSPathProvider createWithConditionalComment (@Nonnull @Nonempty final String sPath, @Nullable final String sConditionalComment, @Nullable final ICSSMediaList aMediaList) { return new ConstantCSSPathProvider (sPath, CSSFilenameHelper.getMinifiedCSSFilename (sPath), sConditionalComment, aMediaList, DEFAULT_IS_BUNDLABLE); }
@Nonnull public static ConstantCSSPathProvider create (@Nonnull @Nonempty final String sPath) { return new ConstantCSSPathProvider (sPath, CSSFilenameHelper.getMinifiedCSSFilename (sPath), DEFAULT_CONDITIONAL_COMMENT, DEFAULT_CSS_MEDIA_LIST, DEFAULT_IS_BUNDLABLE); }
@Nonnull public ConstantCSSPathProvider getAsCSSPathProvider () { if (m_aResource.getResourceType () != EWebSiteResourceType.CSS) throw new IllegalStateException ("This can only be performed on a CSS resource!"); return new ConstantCSSPathProvider (m_aResource.getPath (), CSSFilenameHelper.getMinifiedCSSFilename (m_aResource.getPath ()), m_sConditionalComment, m_aMediaList, m_bIsBundlable); }
aTarget.addItem (new ConstantCSSPathProvider (sPath, CSSFilenameHelper.getMinifiedCSSFilename (sPath), sConditionalComment,