@Test public void testFeatureSource() throws IOException { SimpleFeatureSource source = csvDataStore.getFeatureSource(); assertNotNull(source); SimpleFeatureCollection features = source.getFeatures(); assertNotNull(features); assertEquals(9, features.size()); ReferencedEnvelope env = source.getBounds(); assertNotNull(env); ReferencedEnvelope expected = new ReferencedEnvelope( -123.365556, 151.211111, -33.925278, 48.428611, DefaultGeographicCRS.WGS84); assertTrue(env.boundsEquals2D(expected, 0.0001)); }
@Override public SimpleFeatureSource getFeatureSource() throws IOException { return super.getFeatureSource(getTypeName()); }
CSVDataStore extends ContentDataStore implements FileDataStore { @Override public SimpleFeatureSource getFeatureSource() throws IOException { return super.getFeatureSource(getTypeName()); } }
CSVDataStore extends ContentDataStore implements FileDataStore { @Override public SimpleFeatureSource getFeatureSource() throws IOException { return super.getFeatureSource(getTypeName()); } CSVDataStore(CSVFileState csvFileState, CSVStrategy csvStrategy); }
CSVDataStore extends ContentDataStore implements FileDataStore { @Override public SimpleFeatureSource getFeatureSource() throws IOException { return super.getFeatureSource(getTypeName()); } CSVDataStore(CSVFileState csvFileState, CSVStrategy csvStrategy); Name getTypeName(); @Override SimpleFeatureType getSchema(); @Override void updateSchema(SimpleFeatureType featureType); @Override SimpleFeatureSource getFeatureSource(); @Override FeatureReader<SimpleFeatureType, SimpleFeature> getFeatureReader(); @Override FeatureWriter<SimpleFeatureType, SimpleFeature> getFeatureWriter(
            Filter filter, Transaction transaction); @Override FeatureWriter<SimpleFeatureType, SimpleFeature> getFeatureWriter(Transaction transaction); @Override FeatureWriter<SimpleFeatureType, SimpleFeature> getFeatureWriterAppend(
            Transaction transaction); CSVStrategy getCSVStrategy(); @Override void createSchema(SimpleFeatureType featureType); }
CSVDataStore extends ContentDataStore implements FileDataStore { @Override public SimpleFeatureSource getFeatureSource() throws IOException { return super.getFeatureSource(getTypeName()); } CSVDataStore(CSVFileState csvFileState, CSVStrategy csvStrategy); Name getTypeName(); @Override SimpleFeatureType getSchema(); @Override void updateSchema(SimpleFeatureType featureType); @Override SimpleFeatureSource getFeatureSource(); @Override FeatureReader<SimpleFeatureType, SimpleFeature> getFeatureReader(); @Override FeatureWriter<SimpleFeatureType, SimpleFeature> getFeatureWriter(
            Filter filter, Transaction transaction); @Override FeatureWriter<SimpleFeatureType, SimpleFeature> getFeatureWriter(Transaction transaction); @Override FeatureWriter<SimpleFeatureType, SimpleFeature> getFeatureWriterAppend(
            Transaction transaction); CSVStrategy getCSVStrategy(); @Override void createSchema(SimpleFeatureType featureType);  }