Class SystemUtils

java.lang.Object
org.infinispan.cli.util.SystemUtils

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

    • SystemUtils

      public SystemUtils()
  • Method Details

    • 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: