Android Open Source - issue-parser Issue






From Project

Back to project page issue-parser.

License

The source code is released under:

GNU General Public License

If you think the Android project issue-parser listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package de.dom.drupalit.objects;
//  www  . j  a  v a2  s .c o m
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;

import org.mcsoxford.rss.RSSItem;

import android.content.Context;
import android.text.Html;
import de.dom.drupalit.R;

public class Issue {
  
  public String id;
  public String author;
  public Date date;
  public String title;
  public String issue;
  public String issueURL;
  public ArrayList<Comment> comments;
  public String status;
  public String priority;
  public String category;
  public String version;
  public String component;
  public String replies;
  public String lastUpdated;
  public String assignedTo;
  public String created;
  public boolean isLoadingItem = false;
  public String myStatus;
  public String summary;
  public String followerCount;
  
  public Issue(RSSItem item) {
    this.id = item.getGuid().substring(0, item.getGuid().indexOf(" "));
    this.author = item.getCreator();
    this.date = item.getPubDate();
    this.title = item.getTitle();
    this.issue = Html.fromHtml(item.getDescription()).toString();
    this.issueURL = item.getComments();
  }
  
  public Issue() {
    
  }

  public String localizedCreationString(Context context) {
    SimpleDateFormat sdf = new SimpleDateFormat(context.getString(R.string.date_format));
    return String.format(context.getString(R.string.list_item_date_author_string), this.author, sdf.format(this.date));
  }

}




Java Source Code List

de.dom.drupalit.IssueDetail.java
de.dom.drupalit.IssueParser.java
de.dom.drupalit.Main.java
de.dom.drupalit.Utils.java
de.dom.drupalit.adapters.FeedAdapter.java
de.dom.drupalit.backgroundservice.AppService.java
de.dom.drupalit.backgroundservice.OnAlarmReceiver.java
de.dom.drupalit.backgroundservice.OnBootReceiver.java
de.dom.drupalit.backgroundservice.WakefulIntentService.java
de.dom.drupalit.listeners.RSSItemClickListener.java
de.dom.drupalit.objects.Comment.java
de.dom.drupalit.objects.Issue.java
de.dom.drupalit.tabs.IssueListActivity.java
de.dom.drupalit.tabs.TabAllIssues.java
de.dom.drupalit.tabs.TabMyIssues.java
de.dom.drupalit.tabs.TabProfile.java
org.mcsoxford.rss.Dates.java
org.mcsoxford.rss.MediaAttributes.java
org.mcsoxford.rss.MediaThumbnail.java
org.mcsoxford.rss.RSSBase.java
org.mcsoxford.rss.RSSConfig.java
org.mcsoxford.rss.RSSException.java
org.mcsoxford.rss.RSSFault.java
org.mcsoxford.rss.RSSFeed.java
org.mcsoxford.rss.RSSHandler.java
org.mcsoxford.rss.RSSItem.java
org.mcsoxford.rss.RSSLoader.java
org.mcsoxford.rss.RSSParserSPI.java
org.mcsoxford.rss.RSSParser.java
org.mcsoxford.rss.RSSReaderException.java
org.mcsoxford.rss.RSSReader.java
org.mcsoxford.rss.Resources.java