public abstract class PointCollectionStreamAbstract extends PointCollectionImpl
PointFeatureCollection from a point stream.
Subclasses must implement getInputStream().PointCollectionImpl.PointCollectionSubsetlocalIterator| Constructor and Description |
|---|
PointCollectionStreamAbstract(String name)
Creates a feature collection with the specified name.
|
PointCollectionStreamAbstract(String name,
CalendarDateUnit timeUnit,
String altUnits)
Creates a feature collection with the specified name, time unit, and altitude unit.
|
| Modifier and Type | Method and Description |
|---|---|
abstract InputStream |
getInputStream()
Returns the input stream from which to read point data.
|
PointFeatureIterator |
getPointFeatureIterator()
Get an iterator over the PointFeatures of this collection.
|
finish, getCollectionFeatureType, hasNext, iterator, next, resetIteration, subsetgetAltUnits, getBoundingBox, getCalendarDateRange, getExtraVariables, getInfo, getName, getNobs, getTimeUnit, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAltUnits, getBoundingBox, getCalendarDateRange, getExtraVariables, getName, getTimeUnit, sizeforEach, spliteratorpublic PointCollectionStreamAbstract(String name)
DsgCollectionImpl.getTimeUnit() and DsgCollectionImpl.getAltUnits() will return
default values until getPointFeatureIterator() is called for the first time.name - the name of this feature collection. May be null.public PointCollectionStreamAbstract(String name, CalendarDateUnit timeUnit, String altUnits)
name - the name of this feature collection. May be null.timeUnit - the time unit. May not be null.altUnits - the UDUNITS altitude unit string. May be null.public abstract InputStream getInputStream() throws IOException
IOException - if an I/O error occurs.public PointFeatureIterator getPointFeatureIterator() throws IOException
PointFeatureCollectionIOException - on read error