protected abstract static class CssLinkResourceTransformer.AbstractLinkParser extends Object implements CssLinkResourceTransformer.LinkParser
Modifier | Constructor and Description |
---|---|
protected |
AbstractLinkParser() |
Modifier and Type | Method and Description |
---|---|
protected int |
addLink(int index,
String endKey,
String content,
Set<org.springframework.web.reactive.resource.CssLinkResourceTransformer.Segment> linksToAdd) |
protected abstract int |
extractLink(int index,
String content,
Set<org.springframework.web.reactive.resource.CssLinkResourceTransformer.Segment> linksToAdd)
Invoked after a keyword match, after whitespaces removed, and when
the next char is neither a single nor double quote.
|
protected abstract String |
getKeyword()
Return the keyword to use to search for links.
|
Set<org.springframework.web.reactive.resource.CssLinkResourceTransformer.Segment> |
parseLinks(String fullContent) |
protected abstract String getKeyword()
public Set<org.springframework.web.reactive.resource.CssLinkResourceTransformer.Segment> parseLinks(String fullContent)
parseLinks
in interface CssLinkResourceTransformer.LinkParser
protected int addLink(int index, String endKey, String content, Set<org.springframework.web.reactive.resource.CssLinkResourceTransformer.Segment> linksToAdd)