Class AbstractPointSubsetWriter
- java.lang.Object
-
- thredds.server.ncss.view.dsg.DsgSubsetWriter
-
- thredds.server.ncss.view.dsg.point.AbstractPointSubsetWriter
-
- Direct Known Subclasses:
PointSubsetWriterCSV,PointSubsetWriterNetcdf,PointSubsetWriterXML
public abstract class AbstractPointSubsetWriter extends DsgSubsetWriter
Created by cwardgar on 2014/06/02. TODO: investigate why this covers CFPointWriter, requiring the subclasses to be public
-
-
Field Summary
Fields Modifier and Type Field Description protected ucar.nc2.ft.PointFeatureCollectionpointFeatureCollection-
Fields inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
fdPoint, ncssParams, wantedRange, wantedVariables
-
-
Constructor Summary
Constructors Constructor Description AbstractPointSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams)AbstractPointSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, int collectionIndex)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidwrite()abstract voidwriteFooter()abstract voidwriteHeader(ucar.nc2.ft.PointFeature pf)abstract voidwritePoint(ucar.nc2.ft.PointFeature pointFeat)-
Methods inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
getHttpHeaders, getWantedDateRange, getWantedVariables, respond
-
-
-
-
Constructor Detail
-
AbstractPointSubsetWriter
public AbstractPointSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams) throws NcssException- Throws:
NcssException
-
AbstractPointSubsetWriter
public AbstractPointSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, int collectionIndex) throws NcssException- Throws:
NcssException
-
-
Method Detail
-
writeHeader
public abstract void writeHeader(ucar.nc2.ft.PointFeature pf) throws Exception- Throws:
Exception
-
writePoint
public abstract void writePoint(ucar.nc2.ft.PointFeature pointFeat) throws Exception- Throws:
Exception
-
write
public void write() throws Exception- Specified by:
writein classDsgSubsetWriter- Throws:
Exception
-
-