org.infinispan.cli.util
Class SystemUtils
java.lang.Object
org.infinispan.cli.util.SystemUtils
public class SystemUtils
- extends Object
SystemUtils.
- Since:
- 5.2
- Author:
- Tristan Tarrant
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemUtils
public SystemUtils()
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:
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.