public class StoreFileUtils
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static java.io.File |
getConfigDirectory(java.lang.String applicationName) |
The name of the directory used for storing configuration
information.
|
static java.io.File |
getConfigFile(java.lang.String applicationName,
java.lang.String name) |
Construct the proper name of a file stored in the configuration
directory.
|
public static java.io.File getConfigDirectory(java.lang.String applicationName)
applicationName
- name of the application, used to
generate the top-directory namepublic static java.io.File getConfigFile(java.lang.String applicationName, java.lang.String name)
applicationName
- name of the application (same as for
getConfigDirectory(java.lang.String)
)name
- the name of the file to be stored/located in the
the configuration directory.Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.