Package adams.core.management
Class Wine
- java.lang.Object
-
- adams.core.management.Wine
-
-
Field Summary
Fields Modifier and Type Field Description static String
FILENAME
the properties file.protected static Properties
m_Properties
the properties.
-
Constructor Summary
Constructors Constructor Description Wine()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static Properties
getProperties()
Loads the properties on demand.static String[]
processCommandLine(String[] cmdline, boolean consoleApp)
Adds, if necessary, the wine executable prefix to the commandline.static String
processCommandLine(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
-
-