SmbAuthInfo.java 590 B

123456789101112131415161718192021222324
  1. package com.epson.memcardacc;
  2. public class SmbAuthInfo {
  3. public boolean mIsPasswordValid = true;
  4. public String mPassword;
  5. public String mUserName;
  6. public SmbAuthInfo(String str, String str2) {
  7. this.mUserName = str;
  8. this.mPassword = str2;
  9. }
  10. public void setUserNameAndPassword(String str, String str2) {
  11. this.mIsPasswordValid = true;
  12. this.mUserName = str;
  13. this.mPassword = str2;
  14. }
  15. public void clearData() {
  16. this.mIsPasswordValid = false;
  17. this.mUserName = null;
  18. this.mPassword = null;
  19. }
  20. }