protected static String getPrimitiveTablePath(
      VPFCoverage coverage, VPFTile tile, String tableName) {
    // Start with the coverage directory.
    StringBuilder sb = new StringBuilder(coverage.getFilePath());
    sb.append(File.separator);

    // If the tile is non-null then append the tile's path.
    if (tile != null) {
      sb.append(tile.getName());
      sb.append(File.separator);
    }

    // Append the primitive table name.
    sb.append(tableName);

    return sb.toString();
  }