public class ConfigFileUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.io.File |
getHomeDir()
Returns the user's home directory.
|
static java.io.File |
getHomeFile(java.lang.String filename)
Return the filename to use when dealing with this application's and
current users' home directory.
|
@NotNull public static java.io.File getHomeFile(@NotNull java.lang.String filename)
CResourceLoader.getHomeFile("file");
will return something like
/home/user/.gridarta/file under Linux.filename
- the name of the requested file@NotNull public static java.io.File getHomeDir()