| java.lang.Object org.geotools.data.MaxFeatureReader
MaxFeatureReader | public class MaxFeatureReader implements FeatureReader(Code) | | Basic support for a FeatureReader that limits itself to the number of
features passed in.
author: Chris Holmes version: $Id: MaxFeatureReader.java 20651 2006-07-21 07:51:54Z jgarnett $ |
counter | protected int counter(Code) | | |
maxFeatures | final protected int maxFeatures(Code) | | |
MaxFeatureReader | public MaxFeatureReader(FeatureReader featureReader, int maxFeatures)(Code) | | Creates a new instance of MaxFeatureReader
Parameters: featureReader - FeatureReader being maxed Parameters: maxFeatures - DOCUMENT ME! |
hasNext | public boolean hasNext() throws IOException(Code) | |
true if the featureReader has not passed the maxand still has more features. throws: IOException - If the reader we are filtering encounters a problem |
|
|