public class ConfigFileUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static @NotNull java.io.File |
getHomeDir()
Returns the user's home directory.
|
static @NotNull java.io.File |
getHomeFile(@NotNull java.lang.String filename)
Return the filename to use when dealing with this application's and
current users' home directory.
|
@NotNull
public static @NotNull java.io.File getHomeFile(@NotNull
@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 @NotNull java.io.File getHomeDir()