Class Wine


  • public class Wine
    extends Object
    Helper class for wine.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • Wine

        public Wine()
    • 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 process
        consoleApp - 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 process
        consoleApp - 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