import javax.swing.text.StyleConstants;
import javax.swing.text.html.HTMLDocument;
import javax.swing.text.html.StyleSheet;
+
+import org.xml.sax.SAXParseException;
+
import twitter.action.TweetDirectMessageGetter;
import twitter.action.TweetFavoriteGetter;
import twitter.action.TweetGetter;
import twitter.gui.form.KeywordSearchDialog;
import twitter.gui.form.UserListDialog;
import twitter.gui.form.UserSearchDialog;
+import twitter.log.TwitterLogManager;
import twitter.manage.TweetConfiguration;
import twitter.manage.TweetManager;
import twitter.task.ExistTimerIDException;
this.setReplyStatus(null);
}
}
+
+ /**
+ * デバッグ用
+ */
+ public void debug() {
+ TwitterLogManager logManager = new TwitterLogManager();
+ try {
+ List<Status> statuses = logManager.get();
+ for(Status s : statuses) {
+ System.out.println(s);
+ }
+ } catch (SAXParseException e) {
+ e.printStackTrace();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
/**
* 基本設定用ダイアログを取得
}// GEN-LAST:event_jMenuItem8ActionPerformed
private void jMenuItem9ActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jMenuItem9ActionPerformed
- mainAction.actionShowUserListDialog("nishio_dens",
- ListGetterSelection.MEMBERSHIPS);
+ mainAction.debug();
}// GEN-LAST:event_jMenuItem9ActionPerformed
private void jTextPaneCaretUpdate(javax.swing.event.CaretEvent evt) {// GEN-FIRST:event_jTextPaneCaretUpdate
private long id = 0;
private String inReplyToScreenName = null;
private long inReplyToStatusId = 0;
- private int inReplyToUserId = 0;
+ private long inReplyToUserId = 0;
private Place place = null;
private Status retweetedStatus = null;
private String source = null;
/**
* inReplyToUserIdを設定します。
*
- * @param inReplyToUserId
+ * @param l
* inReplyToUserId
*/
- public void setInReplyToUserId(int inReplyToUserId) {
- this.inReplyToUserId = inReplyToUserId;
+ public void setInReplyToUserId(long l) {
+ this.inReplyToUserId = l;
}
/**
status.setInReplyToStatusId(Long.parseLong(replyStatusID));
}
if (replyUserID != null) {
- status.setInReplyToUserId(Integer.parseInt(replyUserID));
+ status.setInReplyToUserId(Long.parseLong(replyUserID));
}
// TODO: Place
// TODO: RetweetStatus ここは実装可能