public class EnvironmentDetector extends Object
Constructor and Description |
---|
EnvironmentDetector() |
Modifier and Type | Method and Description |
---|---|
static String |
detectGhostscript()
Guess gs application
|
static String |
detectImagemagickConvert()
Guess convert application
|
static String |
detectOpenOfficePath()
Guess OpenOffice / LibreOffice directory
|
static String |
detectPdfImages()
Guess pdfimages application
|
static String |
detectSwftoolsPdf2Swf()
Guess pdf2swf application
|
static void |
executeLauncher(String file)
Execute application launcher
|
static String |
getNullDevice()
Guess the system null device
|
static String |
getServerHomeDir()
Guess the application server home directory
|
static String |
getServerJndiBase()
Guess JNDI base
|
static String |
getServerLogDir()
Get server log directory
|
static String |
getTempDir()
Guess the system wide temporary directory
|
static String |
getUserHome()
Get user home
|
static boolean |
inServer()
Test if is running in application server
|
static boolean |
isLinux()
Guess if running in Linux
|
static boolean |
isMac()
Guess if running in Mac
|
static boolean |
isServerJBoss()
Detect if running in JBoss
|
static boolean |
isServerTomcat()
Detect if running in Tomcat
|
static boolean |
isWindows()
Guess if running in Windows
|
public static String getServerHomeDir()
public static String getServerLogDir()
public static boolean isServerJBoss()
public static boolean isServerTomcat()
public static String getServerJndiBase()
public static String getTempDir()
public static String getNullDevice()
public static void executeLauncher(String file) throws IOException
IOException
public static boolean isWindows()
public static boolean isLinux()
public static boolean isMac()
public static boolean inServer()
public static String getUserHome()
public static String detectOpenOfficePath()
public static String detectImagemagickConvert()
public static String detectPdfImages()
public static String detectSwftoolsPdf2Swf()
public static String detectGhostscript()
Copyright © 2018 Open Knowledge Management System S.L.. All rights reserved.