@Test public void testSchemaFile_Name() throws IOException { MongoSchemaFileStore store = createUniqueStore(); File directory = directories.get(store); File expected = new File(directory, "test" + SUFFIX_json); assertThat(store.schemaFile(new NameImpl("test")), is(equalTo(expected))); assertThat(store.schemaFile(new NameImpl("uri", "test")), is(equalTo(expected))); assertThat(store.schemaFile(new NameImpl("uri", "-", "test")), is(equalTo(expected))); }
File schemaFile(Name name) { return schemaFile(name.getLocalPart()); }
MongoSchemaFileStore implements MongoSchemaStore { File schemaFile(Name name) { return schemaFile(name.getLocalPart()); } }
MongoSchemaFileStore implements MongoSchemaStore { File schemaFile(Name name) { return schemaFile(name.getLocalPart()); } MongoSchemaFileStore(String uri);  MongoSchemaFileStore(URI uri);  MongoSchemaFileStore(File file); }
MongoSchemaFileStore implements MongoSchemaStore { File schemaFile(Name name) { return schemaFile(name.getLocalPart()); } MongoSchemaFileStore(String uri);  MongoSchemaFileStore(URI uri);  MongoSchemaFileStore(File file); @Override void storeSchema(SimpleFeatureType schema); @Override SimpleFeatureType retrieveSchema(Name name); @Override void deleteSchema(Name name); @Override List<String> typeNames(); @Override void close(); }
MongoSchemaFileStore implements MongoSchemaStore { File schemaFile(Name name) { return schemaFile(name.getLocalPart()); } MongoSchemaFileStore(String uri);  MongoSchemaFileStore(URI uri);  MongoSchemaFileStore(File file); @Override void storeSchema(SimpleFeatureType schema); @Override SimpleFeatureType retrieveSchema(Name name); @Override void deleteSchema(Name name); @Override List<String> typeNames(); @Override void close();  }