tds/src/main/java/thredds/util/TdsPathUtils.java
public static String getFileNameForResponse(String pathInfo, NetcdfFileWriter.Version version) {
    Preconditions.checkNotNull(version, "version == null");
    return getFileNameForResponse(pathInfo, version.getSuffix());
  }
public static String getFileNameForResponse(String pathInfo, NetcdfFileWriter.Version version) {
    Preconditions.checkNotNull(version, "version == null");
    return getFileNameForResponse(pathInfo, version.getSuffix());
  }
/////////////////////////////////////////////////