public abstract class BaseFeatureInputStream extends java.lang.Object implements FeatureInputStream
Constructor and Description |
---|
BaseFeatureInputStream() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
abstract FeatureSchema |
getFeatureSchema() |
boolean |
hasNext() |
Feature |
next() |
protected abstract Feature |
readNext()
Read the next feature, if any.
|
public abstract FeatureSchema getFeatureSchema()
getFeatureSchema
in interface FeatureInputStream
public Feature next() throws java.lang.Exception
next
in interface FeatureInputStream
java.lang.Exception
public boolean hasNext() throws java.lang.Exception
hasNext
in interface FeatureInputStream
java.lang.Exception
protected abstract Feature readNext() throws java.lang.Exception
null
if there is nonejava.lang.Exception
public abstract void close() throws java.lang.Exception
close
in interface FeatureInputStream
java.lang.Exception