public class Dap4Print extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
COLUMNS |
protected DataDataset |
data |
protected DapDataset |
dmr |
protected D4DSP |
dsp |
protected static char |
LBRACE |
protected static char |
LBRACKET |
protected static char |
LPAREN |
protected static int |
NILFLAGS |
protected static int |
NONAME |
protected static int |
NONNIL |
protected String |
originalurl |
protected static int |
PERLINE |
protected IndentWriter |
printer |
protected static char |
RBRACE |
protected static char |
RBRACKET |
protected static char |
RPAREN |
protected PrintWriter |
writer |
Constructor and Description |
---|
Dap4Print(String url,
PrintWriter writer) |
Modifier and Type | Method and Description |
---|---|
protected static String |
getPrintValue(Object value) |
protected static boolean |
hasDimensions(DapVariable var) |
protected static boolean |
hasMaps(DapVariable var) |
protected static boolean |
hasMetadata(DapNode node) |
protected String |
indicesToString(long[] indices) |
static void |
main(String[] args) |
void |
print() |
protected void |
printData() |
protected void |
printVariable(DataVariable datav) |
protected String |
valueString(Object value,
DapType basetype) |
protected static final int COLUMNS
protected static final char LPAREN
protected static final char RPAREN
protected static final char LBRACE
protected static final char RBRACE
protected static final char LBRACKET
protected static final char RBRACKET
protected static final int NILFLAGS
protected static final int PERLINE
protected static final int NONAME
protected static final int NONNIL
protected String originalurl
protected PrintWriter writer
protected IndentWriter printer
protected D4DSP dsp
protected DapDataset dmr
protected DataDataset data
public Dap4Print(String url, PrintWriter writer)
public void print() throws DapException
DapException
protected void printData() throws DataException
DataException
protected void printVariable(DataVariable datav) throws DataException
DataException
protected String indicesToString(long[] indices) throws DapException
DapException
protected String valueString(Object value, DapType basetype) throws DataException
DataException
protected static boolean hasMetadata(DapNode node)
protected static boolean hasMaps(DapVariable var)
protected static boolean hasDimensions(DapVariable var)
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.