コード例 #1
0
 private static String buildSignature(ThreadRowInfo row, boolean showImage, int imageQuality) {
   if (row == null
       || row.getSignature() == null
       || row.getSignature().length() == 0
       || !PhoneConfiguration.getInstance().showSignature) {
     return "";
   }
   return "<br/></br>"
       + sig
       + "<hr/><br/>"
       + StringUtil.decodeForumTag(row.getSignature(), showImage, imageQuality, null);
 }
コード例 #2
0
  private boolean isComment(ThreadRowInfo row) {

    return row.getAlterinfo() == null
        && row.getAttachs() == null
        && row.getComments() == null
        && row.getJs_escap_avatar() == null
        && row.getLevel() == null
        && row.getSignature() == null;
  }