类 CssLinkResourceTransformer.AbstractLinkParser

    • 方法详细资料

      • getKeyword

        protected abstract String getKeyword()
        Return the keyword to use to search for links, e.g. "@import", "url("
      • extractLink

        protected int extractLink​(int index,
                                  String endKey,
                                  String content,
                                  SortedSet<org.springframework.web.servlet.resource.CssLinkResourceTransformer.ContentChunkInfo> linksToAdd)
      • extractLink

        protected abstract int extractLink​(int index,
                                           String content,
                                           SortedSet<org.springframework.web.servlet.resource.CssLinkResourceTransformer.ContentChunkInfo> linksToAdd)
        Invoked after a keyword match, after whitespace has been removed, and when the next char is neither a single nor double quote.