类 CssLinkResourceTransformer.AbstractCssLinkParser

    • 方法详细资料

      • getKeyword

        protected abstract String getKeyword()
        Return the keyword to use to search for links.
      • addLink

        protected int addLink​(int index,
                              String endKey,
                              String content,
                              Set<org.springframework.web.servlet.resource.CssLinkResourceTransformer.CssLinkInfo> linkInfos)
      • extractLink

        protected abstract int extractLink​(int index,
                                           String content,
                                           Set<org.springframework.web.servlet.resource.CssLinkResourceTransformer.CssLinkInfo> linkInfos)
        Invoked after a keyword match, after whitespaces removed, and when the next char is neither a single nor double quote.