agave-systems/systems-core/src/main/java/org/iplantc/service/transfer/sftp/MaverickSFTP.java
/**
     * Internal method to fetch and cache metadata for a remote file/folder.
     * This speeds up most operations as the logic of this adaptor heavily
     * relies on explicit metadata checking for each operation.
     *
     * @param resolvedPath the remote absolute path to stat
     * @return file attributes for the remote file item
     * @throws FileNotFoundException
     * @throws RemoteDataException
     */
Internal method to fetch and cache metadata for a remote file/folder.
This speeds up most operations as the logic of this adaptor heavily
relies on explicit metadata checking for each operation.

@param resolvedPath the remote absolute path to stat
@return file attributes for the remote file item
@throws FileNotFoundException
@throws RemoteDataException
Internal method to fetch and cache metadata for a remote file / folder . This speeds up most operations as the logic of this adaptor heavily relies on explicit metadata checking for each operation . @param resolvedPath the remote absolute path to stat @return file attributes for the remote file item @throws FileNotFoundException @throws RemoteDataException
protected SftpFileAttributes stat(String resolvedPath) throws FileNotFoundException, RemoteDataException {
        SftpFileAttributes atts = fileInfoCache.get(resolvedPath);
        if (atts == null) {
            atts = stat(resolvedPath, false);
        }
        return atts;
    }
protected SftpFileAttributes stat ( String resolvedPath ) throws FileNotFoundException , RemoteDataException { SftpFileAttributes atts = fileInfoCache . get ( resolvedPath ) ; if ( atts == null ) { atts = stat ( resolvedPath , false ) ; } return atts ; }
Internal method to fetch and cache metadata for a remote file/folder.
Internal method to fetch and cache metadata for a remote file / folder .