356357358359360361362363364365366
char[] password = null; if (ClientFactory.isEncrypted(localFile)) { PasswordDialog pwdDialog = new PasswordDialog(shell); if (pwdDialog.open() != PasswordDialog.OK) return; password = pwdDialog.getPassword().toCharArray(); } try