public class WmsDetailedConfig extends Object
| Modifier and Type | Method and Description |
|---|---|
static WmsDetailedConfig |
fromFile(File configFile)
Parses the XML file from the given file.
|
static WmsDetailedConfig |
fromInputStream(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(String[] args) |
public static WmsDetailedConfig fromFile(File configFile) throws IOException, WmsConfigException
IOException - if there was an io error reading from the file.WmsConfigExceptionpublic static WmsDetailedConfig fromInputStream(InputStream in) throws IOException, WmsConfigException
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.Copyright © 1999–2015 UCAR/Unidata. All rights reserved.