public class WmsDetailedConfig
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static WmsDetailedConfig |
fromFile(java.io.File configFile)
Parses the XML file from the given file.
|
static WmsDetailedConfig |
fromInputStream(java.io.InputStream in)
Parses the XML file from the given input stream, then closes the input stream.
|
LayerSettings |
getSettings(ThreddsLayer layer)
Gets the settings for the given
ThreddsLayer. |
static void |
main(java.lang.String[] args) |
public static WmsDetailedConfig fromFile(java.io.File configFile) throws java.io.IOException, WmsConfigException
java.io.IOException - if there was an io error reading from the file.WmsConfigExceptionpublic static WmsDetailedConfig fromInputStream(java.io.InputStream in) throws java.io.IOException, WmsConfigException
java.io.IOException - if there was an io error reading from the input streamWmsConfigExceptionpublic LayerSettings getSettings(ThreddsLayer layer)
ThreddsLayer. None of the fields
will be null in the returned object.public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception