|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.util.gui.StoreFileUtils
public class StoreFileUtils
Class of static members that provide utility functions for locating configuration files.
Method Summary | |
---|---|
static File |
getConfigDirectory(String applicationName)
The name of the directory used for storing configuration information. |
static File |
getConfigFile(String applicationName,
String name)
Construct the proper name of a file stored in the configuration directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static File getConfigDirectory(String applicationName)
applicationName
- name of the application, used to
generate the top-directory namepublic static File getConfigFile(String applicationName, String name)
applicationName
- name of the application (same as for
getConfigDirectory
)name
- the name of the file to be stored/located in the
the configuration directory.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |