Class SvgSupport

java.lang.Object
org.pentaho.di.core.svg.SvgSupport

public class SvgSupport extends Object
Class for base SVG images processing.
  • Constructor Details

    • SvgSupport

      public SvgSupport()
  • Method Details

    • isSvgEnabled

      public static boolean isSvgEnabled()
    • loadSvgImage

      public static SvgImage loadSvgImage(InputStream in) throws Exception
      Load SVG from file.
      Throws:
      Exception
    • isSvgName

      public static boolean isSvgName(String name)
      Check by file name if image is SVG.
    • toPngName

      public static String toPngName(String name)
      Converts SVG file name to PNG.
    • isPngName

      public static boolean isPngName(String name)
      Check by file name if image is PNG.
    • toSvgName

      public static String toSvgName(String name)
      Converts PNG file name to SVG.