Package adams.core.management
Class Wine
- java.lang.Object
-
- adams.core.management.Wine
-
-
Field Summary
Fields Modifier and Type Field Description static StringFILENAMEthe properties file.protected static Propertiesm_Propertiesthe properties.
-
Constructor Summary
Constructors Constructor Description Wine()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static PropertiesgetProperties()Loads the properties on demand.static String[]processCommandLine(String[] cmdline, boolean consoleApp)Adds, if necessary, the wine executable prefix to the commandline.static StringprocessCommandLine(String cmdline, boolean consoleApp)Adds, if necessary, the wine executable prefix to the commandline.
-
-
-
Field Detail
-
FILENAME
public static final String FILENAME
the properties file.- See Also:
- Constant Field Values
-
m_Properties
protected static Properties m_Properties
the properties.
-
-
Method Detail
-
processCommandLine
public static String[] processCommandLine(String[] cmdline, boolean consoleApp)
Adds, if necessary, the wine executable prefix to the commandline.- Parameters:
cmdline- the commandline array to processconsoleApp- whether the application is a console application- Returns:
- the (potentially) modified commandline
-
processCommandLine
public static String processCommandLine(String cmdline, boolean consoleApp)
Adds, if necessary, the wine executable prefix to the commandline.- Parameters:
cmdline- the commandline to processconsoleApp- whether the application is a console application- Returns:
- the (potentially) modified commandline
-
getProperties
protected static Properties getProperties()
Loads the properties on demand.- Returns:
- the properties
-
-