01: package com.vividsolutions.jump.io;
02:
03: import java.io.*;
04: import com.vividsolutions.jump.feature.*;
05:
06: /**
07: * A stream of features from an external source, which
08: * may throw exceptions during processing.
09: */
10: public interface FeatureInputStream {
11: public FeatureSchema getFeatureSchema();
12:
13: public Feature next() throws Exception;
14:
15: public boolean hasNext() throws Exception;
16:
17: public void close() throws Exception;
18: }
|