public LoginInfo getLoginInfo() {
    LoginInfo loginInfo = new LoginInfo();
    loginInfo.setLogin(StringUtils.toBool(getProperty("logininfo.islogin")));
    loginInfo.setRememberme(StringUtils.toBool(getProperty("logininfo.rememberme")));
    loginInfo.setUid(StringUtils.toInt(getProperty("logininfo.userid")));
    loginInfo.setUsername(getProperty("logininfo.username"));
    // loginInfo.setPassword(CyptoUtils.decode("SocialLocation", getProperty("logininfo.password")))
    // ;
    loginInfo.setPassword(getProperty("logininfo.password"));

    this.login = loginInfo.isLogin();
    this.loginUid = loginInfo.getUid();
    return loginInfo;
  }
 /** @return */
 public User getUserInfo() {
   User lu = new User();
   lu.setUid(StringUtils.toInt(getProperty("user.uid"), 0));
   lu.setName(getProperty("user.name"));
   lu.setFace(getProperty("user.face"));
   lu.setAccount(getProperty("user.account"));
   lu.setPwd(CyptoUtils.decode("oschinaApp", getProperty("user.pwd")));
   lu.setLocation(getProperty("user.location"));
   lu.setFollowers(StringUtils.toInt(getProperty("user.followers"), 0));
   lu.setFans(StringUtils.toInt(getProperty("user.fans"), 0));
   lu.setScore(StringUtils.toInt(getProperty("user.score"), 0));
   lu.setRememberMe(StringUtils.toBool(getProperty("user.isRememberMe")));
   return lu;
 }
 /**
  * 是�Https登录
  *
  * @return
  */
 public boolean isHttpsLogin() {
   String perf_httpslogin = getProperty(AppConfig.CONF_HTTPS_LOGIN);
   // 默认是http
   if (StringUtils.isEmpty(perf_httpslogin)) return false;
   else return StringUtils.toBool(perf_httpslogin);
 }
 /**
  * 是�左�滑动
  *
  * @return
  */
 public boolean isScroll() {
   String perf_scroll = getProperty(AppConfig.CONF_SCROLL);
   // 默认是关闭左�滑�
   if (StringUtils.isEmpty(perf_scroll)) return false;
   else return StringUtils.toBool(perf_scroll);
 }
 /**
  * 是å�¦å�¯åŠ¨æ£?Ÿ¥æ›´æ–°
  *
  * @return
  */
 public boolean isCheckUp() {
   String perf_checkup = getProperty(AppConfig.CONF_CHECKUP);
   // 默认是开�
   if (StringUtils.isEmpty(perf_checkup)) return true;
   else return StringUtils.toBool(perf_checkup);
 }
 /**
  * 是��出�示�
  *
  * @return
  */
 public boolean isVoice() {
   String perf_voice = getProperty(AppConfig.CONF_VOICE);
   // 默认是开��示声�
   if (StringUtils.isEmpty(perf_voice)) return true;
   else return StringUtils.toBool(perf_voice);
 }
 /**
  * 是�加载显示文章图片
  *
  * @return
  */
 public boolean isLoadImage() {
   String perf_loadimage = getProperty(AppConfig.CONF_LOAD_IMAGE);
   // 默认是加载的
   if (StringUtils.isEmpty(perf_loadimage)) return true;
   else return StringUtils.toBool(perf_loadimage);
 }