Package dap4.servlet
Class DapDSR
java.lang.Object
dap4.servlet.DapDSR
Generate the DSR for a dataset.
Currently only generates a minimal DSR.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetTemplate(dap4.core.util.ResponseFormat format) protected voidsubstitute(StringBuilder buf, String macro, String value)
-
Field Details
-
dap4TestServer
-
servletprefix
-
servletsuffix
-
-
Constructor Details
-
DapDSR
- Throws:
IOException
-
-
Method Details
-
generate
public String generate(dap4.core.util.ResponseFormat format, String datasetpath, String dataset) throws IOException - Throws:
IOException
-
getTemplate
- Throws:
IOException
-
substitute
-