Examples of finest()


Examples of net.sf.jlogmicro.util.logging.Logger.finest()

      try {
        final Item item = items[ic];
        if (item instanceof ChoiceGroup) {
          dout.writeInt(((ChoiceGroup)item).getSelectedIndex());
          //#ifdef DLOGGING
          if (finestLoggable) {logger.finest("stored selected " + item.getLabel() + "," + ((ChoiceGroup)item).getSelectedIndex());}
          //#endif
        } else if (item instanceof TextField) {
          final String value = ((TextField)item).getString();
          dout.writeInt(value.length());
          byte [] bvalue;
View Full Code Here

Examples of net.sf.jlogmicro.util.logging.Logger.finest()

            logger.severe("cannot store value=" + value, e);
            //#endif
          }
          dout.write( bvalue, 0, bvalue.length );
          //#ifdef DLOGGING
          if (finestLoggable) {logger.finest("set string " + item.getLabel() + "," + ((TextField)item).getString());}
          //#endif
        }
      } catch (IOException e) {
        //#ifdef DLOGGING
        logger.severe("IOException storing selected.", e);
View Full Code Here

Examples of net.sf.jlogmicro.util.logging.Logger.finest()

        logger.severe("IOException storing selected.", e);
        //#endif
      }
    }
    //#ifdef DLOGGING
    if (finestLoggable) {logger.finest("bout.toByteArray().length=" + bout.toByteArray().length);}
    //#endif
    if (dout != null) {
      try { dout.close(); } catch (IOException e) {}
    }
    return bout.toByteArray();
View Full Code Here

Examples of net.sf.jlogmicro.util.logging.Logger.finest()

  public static void showAlert(MIDlet midlet, Alert alert,
      Displayable disp) {
    //#ifdef DLOGGING
    Logger logger = Logger.getLogger("UiUtil");
    logger.finest("alert,disp=" + alert.getString() + "," + alert.getType());
    //#endif
    if (alert.getType() == AlertType.CONFIRMATION) {
      //#ifdef DLOGGING
      logger.finest("Alert not displayed when type is CONFIRMATION, changing to INFO");
      //#endif
View Full Code Here

Examples of net.sf.jlogmicro.util.logging.Logger.finest()

    Logger logger = Logger.getLogger("UiUtil");
    logger.finest("alert,disp=" + alert.getString() + "," + alert.getType());
    //#endif
    if (alert.getType() == AlertType.CONFIRMATION) {
      //#ifdef DLOGGING
      logger.finest("Alert not displayed when type is CONFIRMATION, changing to INFO");
      //#endif
      alert.setType(AlertType.INFO);
    }
    Display.getDisplay(midlet).setCurrent(alert, disp);
  }
View Full Code Here

Examples of net.sf.jlogmicro.util.logging.Logger.finest()

      final String storeString,
      boolean sencoded){
    // TODO handle serialize items
    //#ifdef DLOGGING
    Logger logger = Logger.getLogger("RssItunesFeed");
    logger.finest("serializeItems,encoded,sencoded=" + serializeItems + "," + encoded + "," + sencoded);
    //#endif
    //#ifdef DTEST
    long encodeTime = 0L;
    long splitTime = 0L;
    long joinTime = 0L;
View Full Code Here

Examples of net.sf.jlogmicro.util.logging.Logger.finest()

    /** Return record store string info */
    final public static RssShortItem[] getShortItems(
      final RssReaderMIDlet midlet, final String storeString) {
    //#ifdef DLOGGING
    Logger logger = Logger.getLogger("RssItunesFeed");
    logger.finest("storeString=" + storeString);
    //#endif
    String[] nodes = StringUtil.split( storeString, '|' );
    final int itemsOff = NBR_ITUNES_FEED_INFO + RssFeed.ITUNES_ITEMS;
    if ((itemsOff >= nodes.length) || (nodes[itemsOff].length() == 0)) {
      return new RssShortItem[0];
View Full Code Here

Examples of net.sf.jlogmicro.util.logging.Logger.finest()

    } else {
      pubDate = parseStdDate(date);
    }
    //#ifdef DLOGGING
    Logger logger = Logger.getLogger("RssFormatParser");
    logger.finest("date,pubDate=" + date + "," + pubDate);
    //#endif
    return pubDate;
  }

    /**
 
View Full Code Here

Examples of net.sf.jlogmicro.util.logging.Logger.finest()

          }
        }

        //#ifdef DLOGGING
        Logger logger = Logger.getLogger("com.substanceofcode.utilsSortUtil");
        logger.finest("lo,lo0,hi0,hi,mid=" + lo +"," + lo0 + "," + hi0 + "," + hi + "," + mid);
        /*
        if (finestLoggable) {
          for (int ic = lo0; ic < hi0; ic++) {
            logger.finer("ic,lngValues=" + ic +"," + lngValues[indexes[ic]);
          }
View Full Code Here

Examples of net.sf.jlogmicro.util.logging.Logger.finest()

  public static final Vector createWordList(final String text, final int width,
      final int height, final int colTxt, final int colTit) {
    //#ifdef DLOGGING
    Logger logger = Logger.getLogger( "RenderedWord");
      boolean finestLoggable = logger.isLoggable(Level.FINEST);
    if (finestLoggable){logger.finest("text=" + text);}
    //#endif
    final Vector wordList = new Vector();
    RenderedWord oldWord;
    final String tmpText = text.replace('\n', ' ');
    char[] ctmpText = tmpText.toCharArray();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.