public class MongoSchemaFileStore extends Object implements MongoSchemaStore
Constructor and Description |
---|
MongoSchemaFileStore(File file) |
MongoSchemaFileStore(String uri) |
MongoSchemaFileStore(URI uri) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
deleteSchema(Name name) |
SimpleFeatureType |
retrieveSchema(Name name) |
void |
storeSchema(SimpleFeatureType schema) |
List<String> |
typeNames() |
public MongoSchemaFileStore(String uri) throws IOException, URISyntaxException
IOException
URISyntaxException
public MongoSchemaFileStore(URI uri) throws IOException
IOException
public MongoSchemaFileStore(File file) throws IOException
IOException
public void storeSchema(SimpleFeatureType schema) throws IOException
storeSchema
in interface MongoSchemaStore
IOException
public SimpleFeatureType retrieveSchema(Name name) throws IOException
retrieveSchema
in interface MongoSchemaStore
IOException
public void deleteSchema(Name name) throws IOException
deleteSchema
in interface MongoSchemaStore
IOException
public List<String> typeNames()
typeNames
in interface MongoSchemaStore
public void close()
close
in interface MongoSchemaStore
Copyright © 1996–2019 Geotools. All rights reserved.