Examples of format()


Examples of net.sf.saxon.number.NumberFormatter.format()

            nf.prepare(format.evaluateAsString(context));
        } else {
            nf = formatter;
        }

        String s = nf.format(vec, gpsize, gpseparator, letterVal, ordinalVal, numb);
        return new StringValue(s);
    }

    private void recoverableError(DynamicError error, XPathContext context) throws XPathException {
        context.getController().recoverableError(error);
View Full Code Here

Examples of net.sourceforge.align.formatter.AlFormatter.format()

    Parser parser = new AlParser(getIn());
    Formatter formatter = new AlFormatter(getOut());
    List<Alignment> alignmentList = parser.parse();
    alignmentList = filter.apply(alignmentList);
    formatter.format(alignmentList);
  }

}
View Full Code Here

Examples of net.sourceforge.align.formatter.Formatter.format()

    Parser parser = new AlParser(getIn());
    Formatter formatter = new AlFormatter(getOut());
    List<Alignment> alignmentList = parser.parse();
    alignmentList = filter.apply(alignmentList);
    formatter.format(alignmentList);
  }

}
View Full Code Here

Examples of net.sourceforge.align.formatter.PresentationFormatter.format()

        List<Alignment> leftGroup = leftIterator.next();
        List<Alignment> rightGroup = rightIterator.next();
       
        getErr().println("< left alignments");
        getErr().println();
        formatter.format(leftGroup);
        getErr().println();
        getErr().println();

        getErr().println("> right alignments");
        getErr().println();
View Full Code Here

Examples of net.sourceforge.jdbclogger.core.formatters.ParameterFormatter.format()

            ParameterFormatter pf;

            if (parameter == null)
                sql = "null";
            else if ((pf = getParamFormatterFor(parameter.getClass ())) != null)
                sql = pf.format (parameter);
            else
                sql = "'"+parameter+"'";

            getSqlAsList().set(listIndex.intValue(), sql);
        }
View Full Code Here

Examples of net.sourceforge.processdash.data.ListData.format()

        ListData result = new ListData();
        for (Map.Entry<Date, String> e : periodNotes.entrySet()) {
            result.add(saveDate(e.getKey()));
            result.add(e.getValue());
        }
        return result.format();
    }
   
    public void setPeriodNoteData(String noteData) {
        periodNotes = new TreeMap<Date, String>();
        if (noteData != null && noteData.length() > 0) {
View Full Code Here

Examples of net.sourceforge.processdash.data.SimpleData.format()

        return true;
      }
    }

    printErr("Time mismatch for " + path + ": expected " + expectedValue
        + ", got " + (value == null ? null : value.format()));
    return false;
  }

  protected File createAndPopulateDataDir() throws IOException {
    File result = createTempDir();
View Full Code Here

Examples of net.sourceforge.processdash.data.StringData.format()

                continue;

            try {
                StringData str = (StringData) sd;
                TaskScheduleChartSettings s = new TaskScheduleChartSettings(
                        dataName, str.format());
                dest.put(s.getSettingsIdentifier(), s);
            } catch (Exception e) {
                TaskScheduleChart.logger.warning(
                    "Could not load chart settings for " + dataName);
            }
View Full Code Here

Examples of net.sourceforge.processdash.data.util.ResultSet.format()

            out.print("<tr>");
            out.print("<td nowrap>");
            out.print(esc(resultSet.getRowName(r)));
            for (int c = 1;   c < ProbeData.EXCLUDE;   c++) {
                out.print("</td><td align=center>");
                out.print(resultSet.format(r, c));
            }
            out.println("<td align=center>");
            if (histData.isReportMode()) {
                if (resultSet.getData(r, ProbeData.EXCLUDE) != null)
                    out.print("<b style='font-family: sans-serif'>X</b>");
View Full Code Here

Examples of net.sourceforge.processdash.i18n.Resources.format()

            // format a message containing line#/col# information.
            Resources r = Resources.getDashBundle("Templates");
            String fmtKey = "XML_Exception_Line_FMT";
            if (col != -1)
                fmtKey = "XML_Exception_Line_Column_FMT";
            return r.format
                (fmtKey, message, new Integer(line), new Integer(col));
        }
    }

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.