More work on IndexMetadata class

This commit is contained in:
Eugene Livis 2017-02-06 14:09:39 -05:00
parent 659b891f9b
commit 398064d85a

View File

@ -85,18 +85,13 @@ public class IndexMetadata {
* @throws TextIndexMetadataException If the new text index metadata file cannot be * @throws TextIndexMetadataException If the new text index metadata file cannot be
* read. * read.
*/ */
public IndexMetadata(String caseDirectory) throws TextIndexMetadataException { IndexMetadata(String caseDirectory) throws TextIndexMetadataException {
this.metadataFilePath = Paths.get(caseDirectory, metadataFileName); this.metadataFilePath = Paths.get(caseDirectory, metadataFileName);
readFromFile(); readFromFile();
} }
/** List<Index> getIndexes() {
* Gets the full path to the case metadata file. return indexes;
*
* @return The path to the metadata file
*/
Path getFilePath() {
return metadataFilePath;
} }
/** /**