Changeset 15149
- Timestamp:
- 07/04/08 16:23:01 (3 months ago)
- Location:
- platform/eclipse/sabotter/trunk/jp.xet.sabotter.core/src/jp/xet/sabotter/core/wassr
- Files:
-
- 2 modified
-
WassrService.java (modified) (1 diff)
-
WassrUser.java (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/eclipse/sabotter/trunk/jp.xet.sabotter.core/src/jp/xet/sabotter/core/wassr/WassrService.java
r15146 r15149 101 101 } else { 102 102 String[] tokens = line.split(","); 103 String id = tokens[0];103 String statusId = tokens[0]; 104 104 String text = tokens[1]; 105 105 String screenName = tokens[3]; 106 106 Date timeStamp = dateFormatter.parse(tokens[4]); 107 String name= tokens[5];107 String userId = tokens[5]; 108 108 109 109 // String name, String screenName, URL profileImageURL 110 110 MiniblogUser user = 111 new WassrUser( name, screenName, new URL("http://wassr.jp/user/" + name111 new WassrUser(userId, screenName, new URL("http://wassr.jp/user/" + userId 112 112 + "/profile_img.png.128.")); 113 113 // int id, String text, Date timeStamp, MiniblogUser user, boolean isDirectMessage, 114 114 // boolean isMessageToMe, boolean isMyEntry 115 115 WassrEntry entry = 116 new WassrEntry( id, text, timeStamp, user, false, /* TODO */false, client.getUserId()117 .equals( name));116 new WassrEntry(statusId, text, timeStamp, user, false, /* TODO */false, client.getUserId() 117 .equals(userId)); 118 118 miniblogEntries.add(entry); 119 119 } -
platform/eclipse/sabotter/trunk/jp.xet.sabotter.core/src/jp/xet/sabotter/core/wassr/WassrUser.java
r15134 r15149 13 13 private String screenName; 14 14 15 private String name;15 private String id; 16 16 17 17 private URL profileImageURL; … … 21 21 * コンストラクタです。 22 22 * 23 * @param name名前23 * @param id 名前 24 24 * @param screenName 表示名 25 25 * @param profileImageURL プロフィール表示用URL 26 26 */ 27 public WassrUser(String name, String screenName, URL profileImageURL) {28 this. name = name;27 public WassrUser(String id, String screenName, URL profileImageURL) { 28 this.id = id; 29 29 this.screenName = screenName; 30 30 this.profileImageURL = profileImageURL; … … 42 42 */ 43 43 public String getName() { 44 return name;44 return screenName; 45 45 } 46 46 … … 56 56 */ 57 57 public String getUserId() { 58 return screenName;58 return id; 59 59 } 60 60
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)