public class EmptyFeatureReader<T extends FeatureType,F extends Feature> extends Object implements FeatureReader<T,F>
Constructor and Description |
---|
EmptyFeatureReader(T featureType)
An Empty FeatureReader
featureType
. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleans up after Empty FeatureReader.
|
T |
getFeatureType()
Return the FeatureType this reader has been configured to create.
|
boolean |
hasNext()
There is no next Feature.
|
F |
next()
Throws NoSuchElementException as this is an Empty FeatureReader.
|
public EmptyFeatureReader(T featureType)
featureType
.featureType
- public T getFeatureType()
FeatureReader
getFeatureType
in interface FeatureReader<T extends FeatureType,F extends Feature>
FeatureReader.getFeatureType()
public F next() throws NoSuchElementException
next
in interface FeatureReader<T extends FeatureType,F extends Feature>
NoSuchElementException
FeatureReader.next()
public boolean hasNext()
hasNext
in interface FeatureReader<T extends FeatureType,F extends Feature>
false
FeatureReader.hasNext()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface FeatureReader<T extends FeatureType,F extends Feature>
FeatureReader.close()
Copyright © 1996–2019 Geotools. All rights reserved.