@Test(expected = IOException.class) public void removeSchemaWhenFileDoesNotExist() throws Exception { File file = temporaryFolder.newFile("points.fgb"); Map<String, Serializable> params = new HashMap<>(); params.put("flatgeobuf-file", file); DataStore store = DataStoreFinder.getDataStore(params); file.delete(); store.removeSchema(new NameImpl("points")); }
@Override public void removeSchema(Name typeName) throws IOException { this.removeSchema(typeName.getLocalPart()); }
FlatgeobufDataStore extends ContentDataStore { @Override public void removeSchema(Name typeName) throws IOException { this.removeSchema(typeName.getLocalPart()); } }
FlatgeobufDataStore extends ContentDataStore { @Override public void removeSchema(Name typeName) throws IOException { this.removeSchema(typeName.getLocalPart()); } FlatgeobufDataStore(File file); }
FlatgeobufDataStore extends ContentDataStore { @Override public void removeSchema(Name typeName) throws IOException { this.removeSchema(typeName.getLocalPart()); } FlatgeobufDataStore(File file); @Override void createSchema(SimpleFeatureType featureType); @Override void removeSchema(Name typeName); @Override void removeSchema(String typeName); }
FlatgeobufDataStore extends ContentDataStore { @Override public void removeSchema(Name typeName) throws IOException { this.removeSchema(typeName.getLocalPart()); } FlatgeobufDataStore(File file); @Override void createSchema(SimpleFeatureType featureType); @Override void removeSchema(Name typeName); @Override void removeSchema(String typeName);  }