public class DMRPrint extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
NILFLAGS |
protected static int |
NONAME |
protected static int |
NONNIL |
protected static int |
PERLINE |
protected IndentWriter |
printer |
protected PrintWriter |
writer |
Constructor and Description |
---|
DMRPrint() |
DMRPrint(PrintWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
protected static String |
getPrintValue(Object value) |
protected static boolean |
hasDimensions(DapVariable var) |
protected static boolean |
hasMaps(DapVariable var) |
protected static boolean |
hasMetadata(DapNode node) |
void |
printDMR(CEConstraint ce,
DapDataset dmr) |
void |
printDMR(DapDataset dataset)
Print a DapDataset:
- as DMR
- optionally constrained
|
protected static final int NILFLAGS
protected static final int PERLINE
protected static final int NONAME
protected static final int NONNIL
protected PrintWriter writer
protected IndentWriter printer
public DMRPrint()
public DMRPrint(PrintWriter writer)
public void flush()
public void close()
public void printDMR(DapDataset dataset) throws IOException
dataset
- IOException
public void printDMR(CEConstraint ce, DapDataset dmr) throws IOException
IOException
protected static boolean hasMetadata(DapNode node)
protected static boolean hasMaps(DapVariable var)
protected static boolean hasDimensions(DapVariable var)
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.