public class BlindVizResourceUtil extends Object
Constructor and Description |
---|
BlindVizResourceUtil() |
Modifier and Type | Method and Description |
---|---|
static File |
createTempFile(String prefix,
String suffix)
Create temporary file under the state location of this plugin
|
static ImageDescriptor |
getImageDescriptor(String imageFilePath)
Get
ImageDescriptor from this plugin |
static File |
getTempDirectory()
Get temporary directory under the state location of this plugin
|
static void |
saveImages(String path)
Save images used in blind visualization into target path
|
static void |
saveScripts(String path)
Save script files used in blind visualization into target path
|
public static void saveImages(String path)
path
- target pathpublic static void saveScripts(String path)
path
- target pathpublic static ImageDescriptor getImageDescriptor(String imageFilePath)
ImageDescriptor
from this pluginimageFilePath
- file path of target imageImageDescriptor
public static File createTempFile(String prefix, String suffix) throws Exception
prefix
- prefix of temporary filesuffix
- suffix of temporary fileFile
Exception
Plugin.getStateLocation()
public static File getTempDirectory()
File
Plugin.getStateLocation()