public class CSSInliner
extends java.lang.Object
| Constructor and Description |
|---|
CSSInliner() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
inline(java.lang.String svg,
java.io.File cssFile)
Parses the specified CSS file and inlines all style properties in the
SVG content string.
|
public static java.lang.String inline(java.lang.String svg,
java.io.File cssFile)
throws java.io.FileNotFoundException,
java.io.IOException
svg - SVG contentscssFile - CSS file to inlinejava.io.FileNotFoundException - if the CSS file cannot be foundjava.io.IOException - if an I/O error occurs