Class SystemUtils


  • public class SystemUtils
    extends Object
    SystemUtils.
    Since:
    5.2
    Author:
    Tristan Tarrant
    • Constructor Detail

      • SystemUtils

        public SystemUtils()
    • Method Detail

      • getAppConfigFolder

        public static String getAppConfigFolder​(String appName)
        Returns an appropriate system-dependent folder for storing application-specific data. The logic in this method uses the os.name to decide which is best. Currently it uses: ~/.config/${appName} on Unix/Linux (as per Freedesktop.org) %APPDATA%/Sun/Java/${appName} on Windows ~/Library/Java/${appName} on Mac OS X
        Parameters:
        appName -
        Returns: