deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.feature
Interface FeatureInputStream

All Superinterfaces:
Iterable<Feature>

public interface FeatureInputStream
extends Iterable<Feature>

Allows stream access to Feature objects provide by a source.

The concrete source is implementation dependent, important use cases are GML files containing features or a SQL results sets that are used to generate Feature instances.

Version:
$Revision: 21300 $, $Date: 2009-12-07 22:38:20 +0100 (Mo, 07 Dez 2009) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Method Summary
 void close()
          Closes the input stream.
 Feature readFeature()
          Reads the next Feature instance from the stream.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

readFeature

Feature readFeature()
Reads the next Feature instance from the stream.

Returns:
the next Feature or null if the end of the stream has been reached

close

void close()
           throws IOException
Closes the input stream.

Throws:
IOException

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>