Package com.substanceofcode.rssreader.businessentities

Examples of com.substanceofcode.rssreader.businessentities.RssShortItem


    //#ifdef DLOGGING
    if (m_finestLoggable) {m_logger.finest("fillVectors fname,ilen=" + fname + "," + ilen);}
    //#endif
        for(int i=0; i < ilen; i++){
            final Object oi = oitems[i];
            RssShortItem si;
      if (oi instanceof RssItunesItem) {
        si = new RssShortItem((RssItunesItem)oi, i);
        if (si.getTitle().length() == 0) {
          si.setTitle(
              m_midlet.getItemDescription(
                ((RssItunesItem)oi).getDescription()));
        }
        //#ifdef DITUNES
        if (si.getDate() == null) {
          si.setDate(fdate);
          //#ifdef DLOGGING
          if (m_finestLoggable) {m_logger.finest("Using feed date for item=" + i + "," + fname + "," + si.getTitle());}
          //#endif
        }
        //#endif
      } else {
        si = (RssShortItem)oi;
      }
      if (m_showAll) {
        m_allItems.addElement(si);
        m_itemFeedsNames.addElement(fname);
      } else {
        if (si.isUnreadItem()) {
          if (m_showUnread) {
            m_unreadItems.addElement(si);
            m_itemFeedsNames.addElement(fname);
          }
        } else {
View Full Code Here


    //#ifdef DLOGGING
//@    if (m_finestLoggable) {m_logger.finest("fillVectors fname,ilen=" + fname + "," + ilen);}
    //#endif
        for(int i=0; i < ilen; i++){
            final Object oi = oitems[i];
            RssShortItem si;
      if (oi instanceof RssItunesItem) {
        si = new RssShortItem((RssItunesItem)oi, i);
        if (si.getTitle().length() == 0) {
          si.setTitle(
              m_midlet.getItemDescription(
                ((RssItunesItem)oi).getDescription()));
        }
        //#ifdef DITUNES
//@        if (si.getDate() == null) {
//@          si.setDate(fdate);
          //#ifdef DLOGGING
//@          if (m_finestLoggable) {m_logger.finest("Using feed date for item=" + i + "," + fname + "," + si.getTitle());}
          //#endif
//@        }
        //#endif
      } else {
        si = (RssShortItem)oi;
      }
      if (m_showAll) {
        m_allItems.addElement(si);
        m_itemFeedsNames.addElement(fname);
      } else {
        if (si.isUnreadItem()) {
          if (m_showUnread) {
            m_unreadItems.addElement(si);
            m_itemFeedsNames.addElement(fname);
          }
        } else {
View Full Code Here

TOP

Related Classes of com.substanceofcode.rssreader.businessentities.RssShortItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.