public final class GeospatialIndexMetadata extends Object
Utility class for reading the metadata about a spatial index
| Modifier and Type | Method and Description |
|---|---|
static Metadata |
read(Path theDir)
Read the index metadata from the given index directory
|
static void |
write(File theDir,
Metadata theMeta)
Write the metadata to the given metadata file in the given directory
|
public static Metadata read(Path theDir) throws IOException
theDir - the index directory to read fromIOException - if there was an error while readingpublic static void write(File theDir, Metadata theMeta) throws IOException
theDir - the index directory to save the metadata information totheMeta - the metadata to writeIOException - if there was an error while writingCopyright © 2010-2016 Stardog Union. All Rights Reserved.