String.format() System.out.println(String.format("sftp DownloadDir is: %s and new is %s", "哈哈","呵呵"));