public class ExternalToolLauncher extends Object
Modifier and Type | Method and 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) |
public static void openURL(String url) throws IOException
IOException
public static void openPDF(File file) throws IOException
IOException
public static void openXLS(File file) throws IOException
IOException
public static void openRTF(File file) throws IOException
IOException
public static void openCSV(File file) throws IOException
IOException
public static boolean execute(String executable, String parameters, String file) throws IOException
IOException
protected static String safeSystemGetProperty(String name, String defaultValue)
public static void openDefaultViewer(File file) throws IOException
IOException
Copyright © 2017 Hitachi Vantara. All rights reserved.