public class SvgSupport extends Object
Constructor and Description |
---|
SvgSupport() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isPngName(String name)
Check by file name if image is PNG.
|
static boolean |
isSvgEnabled() |
static boolean |
isSvgName(String name)
Check by file name if image is SVG.
|
static SvgImage |
loadSvgImage(InputStream in)
Load SVG from file.
|
static String |
toPngName(String name)
Converts SVG file name to PNG.
|
static String |
toSvgName(String name)
Converts PNG file name to SVG.
|
public static boolean isSvgEnabled()
public static SvgImage loadSvgImage(InputStream in) throws Exception
Exception
public static boolean isSvgName(String name)
public static boolean isPngName(String name)