public class LatestConfigFactory extends Object
| Constructor and Description |
|---|
LatestConfigFactory() |
| Modifier and Type | Method and Description |
|---|---|
static thredds.dqc.server.latest.LatestConfig |
parseXML(File inFile)
Parse the given config file for LatestDqcHandler.
|
static thredds.dqc.server.latest.LatestConfig |
parseXML(InputStream inStream,
String docId)
Parse the given config document for LatestDqcHandler.
|
static void |
writeXML(File outFile,
thredds.dqc.server.latest.LatestConfig config) |
public static thredds.dqc.server.latest.LatestConfig parseXML(File inFile) throws IOException
inFile - the config file.IOException - if could not read File.public static thredds.dqc.server.latest.LatestConfig parseXML(InputStream inStream, String docId) throws IOException
inStream - an InputStream of the config document.IOException - if could not read InputStream.public static void writeXML(File outFile, thredds.dqc.server.latest.LatestConfig config) throws IOException
IOExceptionCopyright © 1999–2013 UCAR/Unidata. All rights reserved.