Class CollectionFeatureReader

    • Constructor Detail

      • CollectionFeatureReader

        public CollectionFeatureReader​(Collection<SimpleFeature> featuresArg,
                                       SimpleFeatureType typeArg)
        Create a new instance.
        Parameters:
        featuresArg - a colleciton of features. All features must be of the same FeatureType
        typeArg - the Feature type of of the features.
      • CollectionFeatureReader

        public CollectionFeatureReader​(SimpleFeatureCollection featuresArg,
                                       SimpleFeatureType typeArg)
        Create a new instance.
        Parameters:
        featuresArg - a FeatureCollection. All features must be of the same FeatureType
        typeArg - the Feature type of of the features.
      • CollectionFeatureReader

        public CollectionFeatureReader​(SimpleFeature... featuresArg)
        Create a new instance.
        Parameters:
        featuresArg - an of features. All features must be of the same FeatureType