Class ExternalToolLauncher
- java.lang.Object
-
- org.pentaho.reporting.designer.core.util.ExternalToolLauncher
-
public class ExternalToolLauncher extends Object
User: Martin Date: 01.03.2006 Time: 17:55:15
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
execute(String executable, String parameters, String file)
static void
openCSV(File file)
static void
openDefaultViewer(File file)
static void
openPDF(File file)
static void
openRTF(File file)
static void
openURL(String url)
static void
openXLS(File file)
protected static String
safeSystemGetProperty(String name, String defaultValue)
-
-
-
Method Detail
-
openURL
public static void openURL(String url) throws IOException
- Throws:
IOException
-
openPDF
public static void openPDF(File file) throws IOException
- Throws:
IOException
-
openXLS
public static void openXLS(File file) throws IOException
- Throws:
IOException
-
openRTF
public static void openRTF(File file) throws IOException
- Throws:
IOException
-
openCSV
public static void openCSV(File file) throws IOException
- Throws:
IOException
-
execute
public static boolean execute(String executable, String parameters, String file) throws IOException
- Throws:
IOException
-
safeSystemGetProperty
protected static String safeSystemGetProperty(String name, String defaultValue)
-
openDefaultViewer
public static void openDefaultViewer(File file) throws IOException
- Throws:
IOException
-
-