@Test public void testDownloadLocalFileWithSimpleName() throws IOException { String resultFile = fileSystemOperations.download("localFile", TARGET_ZIP_FILE); assertEquals("localFile", resultFile); }
public String download(String remoteDir, String zipFileName) throws IOException { DownloadResult downloadResult = downloadInternal(remoteDir, zipFileName); return downloadResult.srcPath; }
FileSystemOperations { public String download(String remoteDir, String zipFileName) throws IOException { DownloadResult downloadResult = downloadInternal(remoteDir, zipFileName); return downloadResult.srcPath; } }
FileSystemOperations { public String download(String remoteDir, String zipFileName) throws IOException { DownloadResult downloadResult = downloadInternal(remoteDir, zipFileName); return downloadResult.srcPath; } FileSystemOperations(ClientContext clientContext); }
FileSystemOperations { public String download(String remoteDir, String zipFileName) throws IOException { DownloadResult downloadResult = downloadInternal(remoteDir, zipFileName); return downloadResult.srcPath; } FileSystemOperations(ClientContext clientContext); String downloadAndZip(String remoteDir, String destFileName); String download(String remoteDir, String zipFileName); void deleteFiles(String localUri); @VisibleForTesting void uploadToRemoteFileAndLocalizeToContainerWorkDir(Path stagingDir,
      String fileToUpload, String destFilename, Component comp); Path uploadToRemoteFile(Path stagingDir, String fileToUpload); void validFileSize(String uri); void setPermission(Path destPath, FsPermission permission); static boolean needHdfs(List<String> stringsToCheck); static boolean needHdfs(String content); Set<Path> getUploadedFiles(); }
FileSystemOperations { public String download(String remoteDir, String zipFileName) throws IOException { DownloadResult downloadResult = downloadInternal(remoteDir, zipFileName); return downloadResult.srcPath; } FileSystemOperations(ClientContext clientContext); String downloadAndZip(String remoteDir, String destFileName); String download(String remoteDir, String zipFileName); void deleteFiles(String localUri); @VisibleForTesting void uploadToRemoteFileAndLocalizeToContainerWorkDir(Path stagingDir,
      String fileToUpload, String destFilename, Component comp); Path uploadToRemoteFile(Path stagingDir, String fileToUpload); void validFileSize(String uri); void setPermission(Path destPath, FsPermission permission); static boolean needHdfs(List<String> stringsToCheck); static boolean needHdfs(String content); Set<Path> getUploadedFiles();  }