public class GridDatasetInfo extends Object
| Constructor and Description |
|---|
GridDatasetInfo(GridDataset gds,
String path) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDatasetBoundariesWKT()
Returns a WKT polygon with the dataset boundaries
|
static void |
main(String[] args)
debug
|
org.jdom2.Document |
makeDatasetDescription()
Create the "Dataset Description" XML document from this GridDataset
|
org.jdom2.Document |
makeGridForm()
Create the "Grid Form" XML document from this GridDataset.
|
String |
writeXML(org.jdom2.Document doc)
Write the information as an XML document
|
void |
writeXML(org.jdom2.Document doc,
OutputStream os)
Write the information as an XML document
|
public GridDatasetInfo(GridDataset gds, String path)
public String writeXML(org.jdom2.Document doc)
doc - write XML for this Documentpublic void writeXML(org.jdom2.Document doc,
OutputStream os)
throws IOException
doc - write XML for this Documentos - write to this output streamIOException - on write errorpublic org.jdom2.Document makeDatasetDescription()
public String getDatasetBoundariesWKT()
public org.jdom2.Document makeGridForm()
public static void main(String[] args) throws IOException
args - ignoredIOException - on io errorCopyright © 1999–2013 UCAR/Unidata. All rights reserved.