class DirectoryDataStore implements DataStore {

    public void createSchema(SimpleFeatureType featureType) throws IOException {
        File f = new File(cache.directory, featureType.getTypeName()+".shp");
        
        String shpDataStoreClassName = "org.geotools.data.shapefile.ShapefileDataStore";
        DataStore ds = null;
        try {
            ds = (DataStore) Class.forName(shpDataStoreClassName).getConstructor(URL.class)
                .newInstance(f.toURL());
            ds.createSchema(featureType);
            cache.refreshCacheContents();
        }
        catch(Exception e) {
            throw (IOException) new IOException("Error creating new data store").initCause(e);
        }
    }

    public  DirectoryDataStore(File directory, URI namespaceURI);

}