public class InlineCSSStringTransformer extends BaseCSSStringTransformer implements StringTransformer
StringTransformer
that rewrites URLs in CSS in STYLE
attribute.cssImportNoUrlPatString, cssImportNoUrlPattern, cssUrlPatString, cssUrlPattern
Constructor and Description |
---|
InlineCSSStringTransformer() |
Modifier and Type | Method and Description |
---|---|
String |
transform(ReplayParseContext context,
String css)
transforms text with certain rewrite rules.
|
patternRewrite
public String transform(ReplayParseContext context, String css)
StringTransformer
Refactoring: change input
type to CharSequence
.
transform
in interface StringTransformer
context
- ReplayParseContextcss
- text data to be transformedCopyright © 2005–2015 IIPC. All rights reserved.