Package org.pentaho.di.core.util
Class SwingSvgImageUtil
java.lang.Object
org.pentaho.di.core.util.SwingSvgImageUtil
Class for loading images from SVG, PNG, or other bitmap formats.
Logic is: if SVG is enabled, then SVG icon loaded if exist. Otherwise, class trying to change name into PNG and try
to load. If initial name is PNG, then PNG icon will be loaded.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.pentaho.di.core.SwingUniversalImage
Load image from several sources.static org.pentaho.di.core.SwingUniversalImage
getImageAsResource
(String location) Load image from several sources.static org.pentaho.di.core.SwingUniversalImage
getUniversalImage
(ClassLoader classLoader, String filename) Load image from several sources.
-
Constructor Details
-
SwingSvgImageUtil
public SwingSvgImageUtil()
-
-
Method Details
-
getImageAsResource
Load image from several sources. -
getUniversalImage
public static org.pentaho.di.core.SwingUniversalImage getUniversalImage(ClassLoader classLoader, String filename) Load image from several sources. -
getImage
Load image from several sources.
-