Class PointSubsetWriterCSV
- java.lang.Object
-
- thredds.server.ncss.view.dsg.DsgSubsetWriter
-
- thredds.server.ncss.view.dsg.point.AbstractPointSubsetWriter
-
- thredds.server.ncss.view.dsg.point.PointSubsetWriterCSV
-
public class PointSubsetWriterCSV extends AbstractPointSubsetWriter
Created by cwardgar on 2014/06/02.
-
-
Field Summary
Fields Modifier and Type Field Description protected PrintWriterwriter-
Fields inherited from class thredds.server.ncss.view.dsg.point.AbstractPointSubsetWriter
pointFeatureCollection
-
Fields inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
fdPoint, ncssParams, wantedRange, wantedVariables
-
-
Constructor Summary
Constructors Constructor Description PointSubsetWriterCSV(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.HttpHeadersgetHttpHeaders(String datasetPath, boolean isStream)voidwriteFooter()voidwriteHeader(ucar.nc2.ft.PointFeature pf)voidwritePoint(ucar.nc2.ft.PointFeature pointFeat)-
Methods inherited from class thredds.server.ncss.view.dsg.point.AbstractPointSubsetWriter
write
-
Methods inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
getWantedDateRange, getWantedVariables, respond
-
-
-
-
Field Detail
-
writer
protected final PrintWriter writer
-
-
Constructor Detail
-
PointSubsetWriterCSV
public PointSubsetWriterCSV(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out) throws NcssException, IOException- Throws:
NcssExceptionIOException
-
-
Method Detail
-
getHttpHeaders
public org.springframework.http.HttpHeaders getHttpHeaders(String datasetPath, boolean isStream)
- Specified by:
getHttpHeadersin classDsgSubsetWriter
-
writeHeader
public void writeHeader(ucar.nc2.ft.PointFeature pf)
- Specified by:
writeHeaderin classAbstractPointSubsetWriter
-
writePoint
public void writePoint(ucar.nc2.ft.PointFeature pointFeat) throws IOException- Specified by:
writePointin classAbstractPointSubsetWriter- Throws:
IOException
-
writeFooter
public void writeFooter()
- Specified by:
writeFooterin classAbstractPointSubsetWriter
-
-