legacy/src/main/java/thredds/crawlabledataset/s3/S3URI.java
public File getTempFile() {
        // To avoid collisions of files with the same name, create a parent dir named after the S3URI's hashCode().
        File parentDir = new File(S3ObjectTempDir, String.valueOf(hashCode()));
        return new File(parentDir, getBaseName());
    }
public File getTempFile() {
        // To avoid collisions of files with the same name, create a parent dir named after the S3URI's hashCode().
        File parentDir = new File(S3ObjectTempDir, String.valueOf(hashCode()));
        return new File(parentDir, getBaseName());
    }
public File getTempFile ( ) { // To avoid collisions of files with the same name, create a parent dir named after the S3URI's hashCode(). File parentDir = new File ( S3ObjectTempDir , String . valueOf ( hashCode ( ) ) ) ; return new File ( parentDir , getBaseName ( ) ) ; }
Gets a temporary file to which the content of the S3Object that this URI points to can be downloaded.
The path of the file is {@code ${java.io.tmpdir}/S3Objects/${hashCode()}/${getBaseName()}}.
This method does not cause the file to be created; we're just returning a suitable path.

@return a temporary file to which the content of the S3Object that this URI points to can be downloaded.
Gets a temporary file to which the content of the S3Object that this URI points to can be downloaded . The path of the file is { @code $ { java . io . tmpdir } / S3Objects / $ { hashCode () } / $ { getBaseName () }} . This method does not cause the file to be created ; we re just returning a suitable path .