Package thredds.util
Class ThreddsConfigReader
- java.lang.Object
-
- thredds.util.ThreddsConfigReader
-
public class ThreddsConfigReader extends Object
read threddsConfig.xml, make elements available used by Tds & Tdm- Since:
- 5/15/13
-
-
Constructor Summary
Constructors Constructor Description ThreddsConfigReader(String filename, org.slf4j.Logger log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(String paramName, String defValue)BooleangetBoolean(String paramName)booleangetBoolean(String paramName, boolean defValue)longgetBytes(String paramName, long defValue)List<String>getElementList(String elementName, String subElementName)intgetInt(String paramName, int defValue)longgetLong(String paramName, long defValue)List<String>getRootList(String elementName)intgetSeconds(String paramName, int defValue)booleanhasElement(String paramName)
-
-
-
Constructor Detail
-
ThreddsConfigReader
public ThreddsConfigReader(String filename, org.slf4j.Logger log)
-
-
Method Detail
-
hasElement
public boolean hasElement(String paramName)
-
getBoolean
public boolean getBoolean(String paramName, boolean defValue)
-
getBytes
public long getBytes(String paramName, long defValue)
-
getInt
public int getInt(String paramName, int defValue)
-
getLong
public long getLong(String paramName, long defValue)
-
getSeconds
public int getSeconds(String paramName, int defValue)
-
-