com.hyper9.simdk.ws.util
Class ConfigFileUtil
java.lang.Object
com.hyper9.simdk.ws.util.ConfigFileUtil
public final class ConfigFileUtil
- extends Object
This class is used to help locate configuration files for this web
application.
- Author:
- akutz
Method Summary |
static File |
getFile(String fileName)
Gets a configuration file by looking for the file name in the following
places in the following order: |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigFileUtil
public ConfigFileUtil()
getFile
public static File getFile(String fileName)
Gets a configuration file by looking for the file name in the following
places in the following order:
- $COM.HYPER9.SIMDK.CONFIGDIRROOT
- /etc/simdk
- ./conf
- Parameters:
fileName
- The name of the file.
- Returns:
- The file if found; otherwise null.
Copyright © 2009-2010 Hyper9. All Rights Reserved.