Package dap4.servlet
Class DapDSR
- java.lang.Object
-
- dap4.servlet.DapDSR
-
public class DapDSR extends Object
Generate the DSR for a dataset. Currently only generates a minimal DSR.
-
-
Field Summary
Fields Modifier and Type Field Description static Stringdap4TestServerprotected static Stringservletprefixprotected static Stringservletsuffix
-
Constructor Summary
Constructors Constructor Description DapDSR(DapRequest drq, dap4.core.util.DapContext cxt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringgenerate(dap4.core.util.ResponseFormat format, String datasetpath, String dataset)protected StringgetTemplate(dap4.core.util.ResponseFormat format)protected voidsubstitute(StringBuilder buf, String macro, String value)
-
-
-
Constructor Detail
-
DapDSR
public DapDSR(DapRequest drq, dap4.core.util.DapContext cxt) throws IOException
- Throws:
IOException
-
-
Method Detail
-
generate
public String generate(dap4.core.util.ResponseFormat format, String datasetpath, String dataset) throws IOException
- Throws:
IOException
-
getTemplate
protected String getTemplate(dap4.core.util.ResponseFormat format) throws IOException
- Throws:
IOException
-
substitute
protected void substitute(StringBuilder buf, String macro, String value)
-
-