public class CssUrlInspector extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
CssUrlInspector.ItemHandler
The handler invoked for each found occurrence of url in parsed css.
|
| Constructor and Description |
|---|
CssUrlInspector() |
| Modifier and Type | Method and Description |
|---|---|
String |
findAndReplace(String content,
CssUrlInspector.ItemHandler handler) |
protected Matcher |
getMatcher(String content) |
protected String |
getOriginalDeclaration(Matcher matcher) |
protected String |
getOriginalUrl(Matcher matcher) |
public final String findAndReplace(String content, CssUrlInspector.ItemHandler handler)
protected Matcher getMatcher(String content)
Matcher for processed css content.protected String getOriginalDeclaration(Matcher matcher)
matcher - the Matcher used to find url occurances.Copyright © 2008-2014. All Rights Reserved.