public static Path getExpectedMetadataLocation(Path dictionary) {
    return dictionary.resolveSibling(
        getExpectedMetadataFileName(dictionary.getFileName().toString()));
  }
public static Path getExpectedMetadataLocation ( Path dictionary ) { return dictionary . resolveSibling ( getExpectedMetadataFileName ( dictionary . getFileName ( ) . toString ( ) ) ) ; }
@param dictionary The location of the dictionary file.
@return Returns the expected location of a metadata file.