Package thredds.server.config
Class ThreddsConfig
- java.lang.Object
-
- thredds.server.config.ThreddsConfig
-
public final class ThreddsConfig extends Object
Read and process the threddsConfig.xml file. You can access the values by calling ThreddsConfig.getXXX(name1.name2), wherevalue
-
-
Constructor Summary
Constructors Constructor Description ThreddsConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringget(String paramName, String defValue)static BooleangetBoolean(String paramName)static booleangetBoolean(String paramName, boolean defValue)static longgetBytes(String paramName, long defValue)static intgetInt(String paramName, int defValue)static longgetLong(String paramName, long defValue)static List<String>getRootList(String elementName)static intgetSeconds(String paramName, int defValue)static booleanhasElement(String paramName)static voidinit(String filename)
-
-
-
Method Detail
-
init
public static void init(String filename)
-
hasElement
public static boolean hasElement(String paramName)
-
getBoolean
public static boolean getBoolean(String paramName, boolean defValue)
-
getBytes
public static long getBytes(String paramName, long defValue)
-
getInt
public static int getInt(String paramName, int defValue)
-
getLong
public static long getLong(String paramName, long defValue)
-
getSeconds
public static int getSeconds(String paramName, int defValue)
-
-