Class DelegateFeatureReader<T extends FeatureType,​F extends Feature>

  • All Implemented Interfaces:
    Closeable, AutoCloseable, FeatureReader<T,​F>
    Direct Known Subclasses:
    DelegateSimpleFeatureReader

    public class DelegateFeatureReader<T extends FeatureType,​F extends Feature>
    extends Object
    implements FeatureReader<T,​F>
    A FeatureReader that wraps up a normal FeatureIterator.

    This class is useful for faking (and testing) the Resource based API against in memory datastructures. You are warned that to complete the illusion that Resource based IO is occuring content will be duplicated.

    Author:
    Jody Garnett, Refractions Research, Inc.