-
argo.format.JsonFormatter.format()
Returns the specified {@code JsonRootNode} formatted as a String.
@param jsonRootNode the {@code JsonRootNode} to format.
@return the specified {@code JsonRootNode} formatted as a String.
-
argo.format.PrettyJsonFormatter.format()
-
at.ipsquare.commons.core.util.DefaultPerformanceLogFormatter.format()
-
at.ipsquare.commons.core.util.PerformanceLogFormatter.format()
Formats a log message according to the given input.
@param from the point where performance logging was started (can be null in theory).
@param to the point where performance logging was stopped (can be null in theory).
@param millis the number of elapsed milliseconds.
@param message an optional message.
@return a string for logging.
-
br.com.caelum.stella.format.CNPJFormatter.format()
-
br.com.caelum.stella.format.CPFFormatter.format()
-
br.com.objectos.way.ui.LocalDateFormat.format()
-
br.net.woodstock.rockframework.core.string.StringFormatter.format()
-
br.net.woodstock.rockframework.text.StringFormat.format()
-
br.net.woodstock.rockframework.util.StringFormater.format()
-
cascading.tuple.Tuple.format()
Method format uses the {@link Formatter} class for formatting this tuples values into a new string.
@param format of type String
@return String
-
ch.qos.logback.core.util.CachingDateFormatter.format()
-
client.net.sf.saxon.ce.expr.number.NumberFormatter.format()
Format a list of numbers.
@param numbers the numbers to be formatted (a sequence of integer values; it may also containpreformatted strings as part of the error recovery fallback)
@return the formatted output string.
-
cn.com.annotations.Element.format()
-
com.alibaba.citrus.util.ToStringBuilder.format()
-
com.alibaba.citrus.util.internal.ToStringBuilder.format()
-
com.alibaba.fastjson.annotation.JSONField.format()
-
com.ancientprogramming.fixedformat4j.format.FixedFormatter.format()
-
com.ardublock.translator.AutoFormat.format()
-
com.bazaarvoice.snitch.Formatter.format()
Format the provided object to the JSON stream.
-
com.browseengine.bobo.facets.data.TermValueList.format()
-
com.brsanthu.dataexporter.model.Column.format()
Implementation should format the cell value object as appropriate into a string, align the string vertically/horizontally to fit with in the column width and row height. Allowed column width is specified via cellDetails.getColumn().getWidth()
. Allowed row height is provided via cellDetails.getRowHeight()
@param cellDetails
@return List of Strings to be rendered for this column. List should have exactly cellDetails.getRowHeight()
strings and each of size cellDetails.getColumn().getWidth()
-
com.caucho.util.QDate.format()
Formats the current date.
-
com.cedarsoft.Version.format()
-
com.cedarsoft.version.Version.format()
format
@return a String object.
-
com.cedarsoftware.ncube.formatters.HtmlFormatter.format()
Use this API to generate an HTML view of this NCube. matches one of the passed in headers, will be the axis chosen to be displayed at the top.
@return String containing an HTML view of this NCube.
-
com.cedarsoftware.ncube.formatters.JsonFormatter.format()
Use this API to generate axis JSON view of this NCube.
@return String containing axis JSON view of this NCube.
-
com.cedarsolutions.util.JavaLoggingFormatter.LogInfo.format()
-
com.clarkparsia.pellint.format.LintFormat.format()
-
com.cloudera.flume.handlers.avro.AvroJsonOutputFormat.format()
-
com.cloudera.flume.handlers.avro.AvroNativeFileOutputFormat.format()
-
com.cloudera.flume.handlers.text.SyslogEntryFormat.format()
This outputs a single line log entry similar to that generate by syslog/syslog-ng. It is generally in the form: : Here is an example: Aug 21 08:02:39 soundwave NetworkManager: (wlan0): supplicant
-
com.cloudera.flume.handlers.text.output.Log4jOutputFormat.format()
-
com.cloudera.flume.handlers.text.output.OutputFormat.format()
Outputs formatted event to the specified output stream.
-
com.denimgroup.threadfix.annotations.ScanImporter.format()
-
com.director.core.json.JsonParser.format()
-
com.dotcms.repackage.com.ibm.icu.text.SimpleDateFormat.format()
-
com.dotcms.repackage.org.apache.commons.lang.time.FastDateFormat.format()
-
com.dubture.twig.core.format.TwigFormatter.format()
-
com.dyuproject.protostuff.parser.Formatter.format()
Returns the formatted string.
-
com.facebook.presto.jdbc.internal.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor.format()
-
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor.format()
-
com.foundationdb.server.explain.format.DefaultFormatter.format()
-
com.foundationdb.server.explain.format.JsonFormatter.format()
-
com.foundationdb.server.types.TInstance.format()
-
com.gitblit.utils.ByteFormat.format()
-
com.github.abrarsyed.jastyle.ASFormatter.format()
-
com.google.caja.parser.css.CssTree.format()
-
com.google.caja.reporting.Message.format()
-
com.google.caja.reporting.MessagePart.format()
Formats this part to out.
@param out receives the formatted form of this.
-
com.google.gerrit.prettify.common.PrettyFormatter.format()
Parse and format a complete source code file.
@param src raw content of the file to format. The line strings will be HTMLescaped before processing, so it must be the raw text.
-
com.google.gwt.i18n.client.DateTimeFormat.format()
Format a date object.
@param date the date object being formatted
@return string representation for this date in desired format
-
com.google.gwt.i18n.client.LocalizableResource.Generate.format()
-
com.google.gwt.i18n.client.NumberFormat.format()
This method formats a double to produce a string.
@param number The double to format
@return the formatted number string
-
com.google.gwt.i18n.shared.DateTimeFormat.format()
Format a date object.
@param date the date object being formatted
@return string representation for this date in desired format
-
com.google.gwt.visualization.client.formatters.ArrowFormat.format()
-
com.google.gwt.visualization.client.formatters.BarFormat.format()
-
com.google.gwt.visualization.client.formatters.ColorFormat.format()
-
com.google.gwt.visualization.client.formatters.DateFormat.format()
-
com.google.gwt.visualization.client.formatters.NumberFormat.format()
-
com.google.gwt.visualization.client.formatters.PatternFormat.format()
-
com.google.visualization.datasource.datatable.ValueFormatter.format()
Formats a value to a string, using the given pattern.
@param value The value to format.
@return The formatted value.
-
com.googlecode.gwt.charts.client.format.DateFormat.format()
-
com.googlecode.gwt.charts.client.format.NumberFormat.format()
-
com.googlecode.jslint4java.formatter.JSLintResultFormatter.format()
Convert {@link JSLintResult} into a suitably formatted String representation.
-
com.googlecode.jslint4java.formatter.PlainFormatter.format()
-
com.googlecode.jsonplugin.annotations.JSON.format()
-
com.haulmont.yarg.structure.impl.ReportBuilder.format()
-
com.hp.hpl.jena.sparql.resultset.CSVOutput.format()
-
com.hp.hpl.jena.sparql.resultset.JSONOutput.format()
-
com.hp.hpl.jena.sparql.resultset.TSVOutput.format()
-
com.hp.hpl.jena.sparql.resultset.TextOutput.format()
-
com.hp.hpl.jena.sparql.resultset.XMLOutput.format()
-
com.hp.hpl.jena.sparql.serializer.FmtExpr.format()
-
com.hp.hpl.jena.sparql.serializer.FmtExprSPARQL.format()
-
com.ibm.icu.impl.duration.PeriodFormatter.format()
Format a Period.
@param ts the Period to format
@return the formatted time
-
com.ibm.icu.text.ChineseDateFormat.format()
-
com.ibm.icu.text.DateFormat.format()
Overrides Format. Formats a time object into a time string. Examples of time objects are a time value expressed in milliseconds and a Date object.
@param obj must be a Number or a Date or a Calendar.
@param toAppendTo the string buffer for the returning time string.
@return the formatted time string.
@param fieldPosition keeps track of the position of the fieldwithin the returned string. On input: an alignment field, if desired. On output: the offsets of the alignment field. For example, given a time text "1996.07.10 AD at 15:08:56 PDT", if the given fieldPosition is DateFormat.YEAR_FIELD, the begin index and end index of fieldPosition will be set to 0 and 4, respectively. Notice that if the same time field appears more than once in a pattern, the fieldPosition will be set for the first occurence of that time field. For instance, formatting a Date to the time string "1 PM PDT (Pacific Daylight Time)" using the pattern "h a z (zzzz)" and the alignment field DateFormat.TIMEZONE_FIELD, the begin index and end index of fieldPosition will be set to 5 and 8, respectively, for the first occurence of the timezone pattern character 'z'.
@see java.text.Format
@stable ICU 2.0
-
com.ibm.icu.text.DateIntervalFormat.format()
Format an object to produce a string. This method handles Formattable objects with a DateInterval type. If a the Formattable object type is not a DateInterval, IllegalArgumentException is thrown.
@param obj The object to format. Must be a DateInterval.
@param appendTo Output parameter to receive result.Result is appended to existing contents.
@param fieldPosition On input: an alignment field, if desired.On output: the offsets of the alignment field.
@return Reference to 'appendTo' parameter.
@throws IllegalArgumentException if the formatted object is not DateInterval object
@stable ICU 4.0
-
com.ibm.icu.text.DecimalFormat.format()
@stable ICU 2.0
-
com.ibm.icu.text.DurationFormat.format()
Format an arbitrary object. Defaults to a call to formatDurationFromNow() for either Long or Date objects.
@param object the object to format. Should be either a Long, Date, or javax.xml.datatype.Duration object.
@param toAppend the buffer to append to
@param pos the field position, may contain additional error messages.
@return the toAppend buffer
@stable ICU 3.8
-
com.ibm.icu.text.MessageFormat.format()
Formats an array of objects and appends the
MessageFormat
's pattern, with format elements replaced by the formatted objects, to the provided
StringBuffer
.
The text substituted for the individual format elements is derived from the current subformat of the format element and the arguments
element at the format element's argument index as indicated by the first matching line of the following table. An argument is unavailable if arguments
is null
or has fewer than argumentIndex+1 elements.
Subformat | Argument | Formatted Text |
any | unavailable | "{" + argumentIndex + "}" |
any | null | "null" |
instanceof ChoiceFormat | any | subformat.format(argument).indexOf('{') >= 0 ? (new MessageFormat(subformat.format(argument), getLocale())).format(argument) : subformat.format(argument) |
!= null | any | subformat.format(argument) |
null | instanceof Number | NumberFormat.getInstance(getLocale()).format(argument) |
null | instanceof Date | DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, getLocale()).format(argument) |
null | instanceof String | argument |
null | any | argument.toString() |
If pos
is non-null, and refers to Field.ARGUMENT
, the location of the first formatted string will be returned.
@param arguments an array of objects to be formatted and substituted.
@param result where text is appended.
@param pos On input: an alignment field, if desired.On output: the offsets of the alignment field.
@exception IllegalArgumentException if an argument in thearguments
array is not of the type expected by the format element(s) that use it.
@stable ICU 3.0
-
com.ibm.icu.text.NumberFormat.format()
CHANGED Format an object. Change: recognizes BigInteger
and BigDecimal
objects.
@stable ICU 2.0
-
com.ibm.icu.text.PluralFormat.format()
Formats a plural message for a given number.
@param number a number for which the plural message should be formatted.If no pattern has been applied to this PluralFormat
object yet, the formatted number will be returned.
@return the string containing the formatted plural message.
@stable ICU 4.0
-
com.ibm.icu.text.RuleBasedNumberFormat.format()
Formats the specified number according to the specified rule set.
@param number The number to format.
@param ruleSet The name of the rule set to format the number with.This must be the name of a valid public rule set for this formatter.
@return A textual representation of the number.
@stable ICU 2.0
-
com.ibm.icu.text.SimpleDateFormat.format()
Overrides DateFormat.
Formats a date or time, which is the standard millis since January 1, 1970, 00:00:00 GMT.
Example: using the US locale: "yyyy.MM.dd G 'at' HH:mm:ss zzz" ->> 1996.07.10 AD at 15:08:56 PDT
@param cal the calendar whose date-time value is to be formatted into a date-time string
@param toAppendTo where the new date-time text is to be appended
@param pos the formatting position. On input: an alignment field,if desired. On output: the offsets of the alignment field.
@return the formatted date-time string.
@see DateFormat
@stable ICU 2.0
-
com.ibm.icu.text.TimeUnitFormat.format()
Format a TimeUnitAmount.
@see java.text.Format#format(java.lang.Object,java.lang.StringBuffer,java.text.FieldPosition)
@stable ICU 4.0
-
com.ibm.icu.text.TimeZoneFormat.format()
nicode.org/reports/tr35/#Time_Zone_Fallback">Appendix J: Time Zone Display Name for the details.
@param style the style enum (e.g. GENERIC_LONG
, LOCALIZED_GMT
...)
@param tz the time zone.
@param date the date.
@return the display name of the time zone.
@see Style
@see #format(Style,TimeZone,long,Output)
@draft ICU 49
@provisional This API might change or be removed in a future release.
-
com.ibm.icu.text.UFormat.format()
-
com.ikanow.infinit.e.data_model.utils.ThreadSafeSimpleDateFormat.format()
-
com.insightfullogic.lambdabehave.impl.output.ConsoleFormatter.format()
-
com.insightfullogic.lambdabehave.impl.output.ReportFormatter.format()
-
com.jagpdf.ImageDef.format()
-
com.jpoweredcart.common.service.CurrencyService.format()
-
com.kellerkindt.scs.interfaces.Balance.format()
-
com.liferay.faces.alloy.component.inputfile.internal.PreviewTableTemplate.format()
-
com.liferay.faces.alloy.component.inputfile.internal.ProgressTableTemplate.format()
-
com.liferay.faces.portal.component.inputrichtext.internal.WYSIWYGTemplate.format()
-
com.meidusa.amoeba.sqljep.function.OracleNumberFormat.format()
-
com.meidusa.amoeba.sqljep.function.OracleTimestampFormat.format()
-
com.microsoft.windowsazure.core.ISO8601DateConverter.format()
-
com.ocpsoft.pretty.time.PrettyTime.format()
-
com.opengamma.web.server.conversion.DoubleValueFormatter.format()
-
com.opengamma.web.server.conversion.DoubleValueOptionalDecimalPlaceFormatter.format()
-
com.pholser.junit.quickcheck.generator.InRange.format()
-
com.plainsource.commons.text.CurrencyDecimal.format()
-
com.plainsource.commons.text.NumberWrapper.format()
-
com.skaringa.util.ISO8601DateFormat.format()
@see java.text.DateFormat#format(Date,StringBuffer,FieldPosition)
-
com.skaringa.util.ISO8601DateTimeFormat.format()
@see DateFormat#format(Date,StringBuffer,FieldPosition)
-
com.sun.faban.common.TextTable.format()
StringBuilder version of format. Same as format(Appendable) but does not throw exceptions.
@param b The StringBuilder to append to
@return The same StringBuilder
-
com.sun.star.wizards.common.Helper.DateUtils.format()
-
com.volantis.mcs.eclipse.common.AttributesMessageFormatter.format()
Unfortunately super class versions of the format method are all final so we cannot override this method. Instead we add a message argument to allow the user to override the message associated with this AttributesMessageFormat (and allow us to have a format method). A message is the message in a properties bundle that contains formatting e.g. {device}, {pixelDepth}bits, {pixelsX}x{pixelsY}px
@param attributes The List of Attributes to use in creating theformatted message.
@param message The message to be formatted.
@param elementName The name of the element if this is to be includedin the formatted message. If so then the message should include a corresponding {element}. Typically this name would be a localized name for the element. Can be null.
-
com.webobjects.foundation.NSNumberFormatter.format()
-
com.webobjects.foundation.NSTimestampFormatter.format()
-
com.xmlcalabash.config.CssProcessor.format()
-
com.xmlcalabash.config.FoProcessor.format()
-
cucumber.runtime.MethodFormat.format()
-
de.hunsicker.jalopy.Jalopy.format()
-
de.innovationgate.utils.FormattingChain.format()
@throws FormattingException
@see de.innovationgate.utils.ObjectFormatter#format(Object)
-
de.innovationgate.utils.ObjectFormatter.format()
Formats an object to a string
@param obj The object
-
de.innovationgate.wgpublisher.RTFEncodingFormatter.format()
-
de.odysseus.calyxo.forms.FormInput.format()
Format property.
@param request the request we process
@param bean form data
@return if this is an array input, an array of strings; a string else
@throws Exception if form data access failes
-
de.odysseus.calyxo.forms.FormInputResult.format()
Format property. The formatted value answered here is used to be presented to the user again. Usually, this is the user input itself for invalid values and the user input in "canonical form" for valid inputs.
@param request the request we process
@return if this is an array input, an array of strings; a string else
-
de.tuhrig.thofu.interfaces.Parser.format()
This method removes single and multi-line comments as well as line breaks. It also inserts a space between every token, e.g. between ")(" to ") (".
@param expression to format
@return a formated string without comments in one line
-
edu.brown.utils.SQLFormatter.format()
-
edu.mit.simile.fresnel.configuration.Configuration.format()
Formats the subgraph selected by a select() call according to Fresnel formatting configuration.
@param in The data Repository
@param select The previously generated Selection
@return A Selection
with formatting information.
-
er.extensions.formatters.ERXUnitAwareDecimalFormat.format()
-
er.grouping.DRSubMasterCriteria.format()
When {@link #useTimeFormat()} is set, then date valueswill be converted to a string before a comparison by using this format. The string can be any valid {@link NSTimestampFormatter} string,which means that you can also use {@link java.util.DateFormatter}patterns.
-
erjang.EDouble.format()
-
flash.localization.ILocalizedText.format()
-
games.stendhal.client.FormatTextParserExtension.format()
-
games.stendhal.client.gui.FormatTextParser.format()
-
hirondelle.date4j.DateTime.format()
Output this
DateTime as a formatted String using numbers, with no localizable text.
Example:
dt.format("YYYY-MM-DD hh:mm:ss");
would generate text of the form
2009-09-09 18:23:59
If months, weekdays, or AM/PM indicators are output as localizable text, you must use {@link #format(String,Locale)}.
@param aFormat uses the formatting mini-language defined in the class comment.
-
hirondelle.web4j.model.DateTime.format()
Output this
DateTime as a formatted String using numbers, with no localizable text.
Example:
dt.format("YYYY-MM-DD hh:mm:ss");
would generate text of the form
2009-09-09 18:23:59
If months, weekdays, or AM/PM indicators are output as localizable text, you must use {@link #format(String,Locale)}.
@param aFormat uses the formatting mini-language defined in the class comment.
-
htsjdk.samtools.util.FormatUtil.format()
-
info.cukes.editor.FeatureEditor.format()
-
io.tesla.lifecycle.profiler.internal.DefaultTimer.format()
-
is.us.formatters.USPersidnoFormatter.format()
Attempts to format a persidno to human readable format.
-
it.eng.spago.dbaccess.EngDateFormatter.format()
-
java.io.Console.format()
Writes a formatted string to this console's output stream using the specified format string and arguments.
@param fmt A format string as described in
Format string syntax
@param args Arguments referenced by the format specifiers in the format string. If there are more arguments than format specifiers, the extra arguments are ignored. The number of arguments is variable and may be zero. The maximum number of arguments is limited by the maximum dimension of a Java array as defined by
The Java™ Virtual Machine Specification. The behaviour on a
null argument depends on the
conversion.
@throws IllegalFormatException If a format string contains an illegal syntax, a format specifier that is incompatible with the given arguments, insufficient arguments given the format string, or other illegal conditions. For specification of all possible formatting errors, see the
Details section of the formatter class specification.
@return This console
-
java.io.PrintStream.format()
Writes a string formatted by an intermediate
Formatter
to this stream using the given format string and arguments.
The method uses the default for the current JVM instance locale, as if it is specified by the Locale.getDefault()
call.
@param format A format string.
@param args The arguments list. If there are more arguments than those specified by the format string, then the additional arguments are ignored.
@return This stream.
@throws IllegalFormatException If the format string is illegal or incompatible with the arguments or the arguments are less than those required by the format string or any other illegal situation.
@throws NullPointerException If the given format is null.
-
java.io.PrintWriter.format()
Writes a string formatted by an intermediate
Formatter
to this writer using the given format string and arguments. A call to this method flushes the buffered output, if the automatic flushing is enabled.
The method uses the default for the current JVM instance locale, as if it is specified by the Locale.getDefault()
call.
@param format A format string.
@param args The arguments list. If there are more arguments than those specified by the format string, then the additional arguments are ignored.
@return This writer.
@throws IllegalFormatException If the format string is illegal or incompatible with the arguments or the arguments are less than those required by the format string or any other illegal situation.
@throws NullPointerException If the given format is null.
-
java.text.ChoiceFormat.format()
Specialization of format. This method really calls format(double, StringBuffer, FieldPosition)
thus the range of longs that are supported is only equal to the range that can be stored by double. This will never be a practical limitation.
-
java.text.DecimalFormat.format()
Formats a number and appends the resulting text to the given string buffer. The number can be of any subclass of {@link java.lang.Number}.
This implementation uses the maximum precision permitted.
@param number the number to format
@param toAppendTo the StringBuffer
to which the formattedtext is to be appended
@param pos On input: an alignment field, if desired.On output: the offsets of the alignment field.
@return the value passed in as toAppendTo
@exception IllegalArgumentException if number
isnull or not an instance of Number
.
@exception NullPointerException if toAppendTo
or pos
is null
@exception ArithmeticException if rounding is needed with roundingmode being set to RoundingMode.UNNECESSARY
@see java.text.FieldPosition
-
java.text.Format.format()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
java.text.MessageFormat.format()
Formats an array of objects and appends the
MessageFormat
's pattern, with format elements replaced by the formatted objects, to the provided
StringBuffer
.
The text substituted for the individual format elements is derived from the current subformat of the format element and the arguments
element at the format element's argument index as indicated by the first matching line of the following table. An argument is unavailable if arguments
is null
or has fewer than argumentIndex+1 elements.
Subformat | Argument | Formatted Text |
any | unavailable | "{" + argumentIndex + "}" |
any | null | "null" |
instanceof ChoiceFormat | any | subformat.format(argument).indexOf('{') >= 0 ? (new MessageFormat(subformat.format(argument), getLocale())).format(argument) : subformat.format(argument) |
!= null | any | subformat.format(argument) |
null | instanceof Number | NumberFormat.getInstance(getLocale()).format(argument) |
null | instanceof Date | DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, getLocale()).format(argument) |
null | instanceof String | argument |
null | any | argument.toString() |
If pos
is non-null, and refers to Field.ARGUMENT
, the location of the first formatted string will be returned.
@param arguments an array of objects to be formatted and substituted.
@param result where text is appended.
@param pos On input: an alignment field, if desired.On output: the offsets of the alignment field.
@exception IllegalArgumentException if an argument in thearguments
array is not of the type expected by the format element(s) that use it.
-
java.text.NumberFormat.format()
Formats a number and appends the resulting text to the given string buffer. The number can be of any subclass of {@link java.lang.Number}.
This implementation extracts the number's value using {@link java.lang.Number#longValue()} for all integral type values thatcan be converted to long
without loss of information, including BigInteger
values with a {@link java.math.BigInteger#bitLength() bit length} of less than 64,and {@link java.lang.Number#doubleValue()} for all other types. Itthen calls {@link #format(long,java.lang.StringBuffer,java.text.FieldPosition)}or {@link #format(double,java.lang.StringBuffer,java.text.FieldPosition)}. This may result in loss of magnitude information and precision for BigInteger
and BigDecimal
values.
@param number the number to format
@param toAppendTo the StringBuffer
to which the formattedtext is to be appended
@param pos On input: an alignment field, if desired.On output: the offsets of the alignment field.
@return the value passed in as toAppendTo
@exception IllegalArgumentException if number
isnull or not an instance of Number
.
@exception NullPointerException if toAppendTo
orpos
is null
@exception ArithmeticException if rounding is needed with roundingmode being set to RoundingMode.UNNECESSARY
@see java.text.FieldPosition
-
java.text.SimpleDateFormat.format()
Formats the given Date
into a date/time string and appends the result to the given StringBuffer
.
@param date the date-time value to be formatted into a date-time string.
@param toAppendTo where the new date-time text is to be appended.
@param pos the formatting position. On input: an alignment field,if desired. On output: the offsets of the alignment field.
@return the formatted date-time string.
@exception NullPointerException if the given date is null
-
java.time.LocalDateTime.format()
Formats this date-time using the specified formatter.
This date-time will be passed to the formatter to produce a string.
@param formatter the formatter to use, not null
@return the formatted date-time string, not null
@throws DateTimeException if an error occurs during printing
-
java.time.OffsetDateTime.format()
Formats this date-time using the specified formatter.
This date-time will be passed to the formatter to produce a string.
@param formatter the formatter to use, not null
@return the formatted date-time string, not null
@throws DateTimeException if an error occurs during printing
-
java.time.ZonedDateTime.format()
Formats this date-time using the specified formatter.
This date-time will be passed to the formatter to produce a string.
@param formatter the formatter to use, not null
@return the formatted date-time string, not null
@throws DateTimeException if an error occurs during printing
-
java.time.format.DateTimeFormatter.format()
Formats a date-time object using this formatter.
This formats the date-time to a String using the rules of the formatter.
@param temporal the temporal object to format, not null
@return the formatted string, not null
@throws DateTimeException if an error occurs during formatting
-
java.util.Formatter.format()
com/docs/books/vmspec/">Java Virtual Machine Specification.
@throws IllegalFormatException If a format string contains an illegal syntax, a format specifier that is incompatible with the given arguments, insufficient arguments given the format string, or other illegal conditions. For specification of all possible formatting errors, see the
Details section of the formatter class specification.
@throws FormatterClosedException If this formatter has been closed by invoking its {@link #close()} method
@return This formatter
-
java.util.logging.Formatter.format()
Format the given log record and return the formatted string.
The resulting formatted String will normally include a localized and formated version of the LogRecord's message field. The Formatter.formatMessage convenience method can (optionally) be used to localize and format the message field.
@param record the log record to be formatted.
@return the formatted log record
-
java.util.logging.SimpleFormatter.format()
Format the given LogRecord.
@param record the log record to be formatted.
@return a formatted log record
-
java.util.logging.XMLFormatter.format()
Format the given message to XML.
@param record the log record to be formatted.
@return a formatted log record
-
javax.mail.internet.MailDateFormat.format()
-
javax.measure.unit.UnitFormat.format()
-
javolution.text.TextFormat.format()
Formats the specified object into an Appendable
@param obj the object to format.
@param dest the appendable destination.
@return the specified Appendable
.
@throws IOException if an I/O exception occurs.
-
jnode.core.ConcurrentDateFormatAccess.format()
-
jonelo.jacksum.algorithm.AbstractChecksum.format()
-
jp.sf.amateras.stepcounter.format.ExcelFormatter.format()
-
jp.sf.amateras.stepcounter.format.ResultFormatter.format()
-
js.lang.NativeIntl.DateTimeFormat.format()
-
jsky.coords.WorldCoords.format()
Format RA and DEC in h:m:s [+-]d:m:s format in the given equinox and return them as a 2 element String array.
-
jstyle.JSFormatter.format()
-
juzu.impl.value.ValueType.format()
Format a value and returns the corresponding string.
@param element the element annotations
@param value the value to format
@return the corresponding string
-
mireka.smtp.SmtpReplyTemplate.format()
-
mondrian.util.Format.format()
Formats an object using a format string, according to a given locale.
If you need to format many objects using the same format string, create a formatter object using {@link mondrian.util.Format#Format(String,java.util.Locale)}.
@return object formatted using format string
-
net.arnx.jsonic.JSON.format()
Format a object into a json string.
@param source a object to encode.
@return a json string
-
net.bpiwowar.mg4j.extensions.utils.LoggerPrintStream.format()
-
net.greghaines.jesque.utils.CompositeDateFormat.format()
{@inheritDoc}
-
net.milkbowl.vault.economy.Economy.format()
-
net.rim.device.api.i18n.SimpleDateFormat.format()
-
net.sf.jabref.export.layout.LayoutFormatter.format()
Failure Mode:
Formatters should be robust in the sense that they always return some relevant string.
If the formatter can detect an invalid input it should return the original string otherwise it may simply return a wrong output.
@param fieldText The text to layout.
@return The layouted text.
-
net.sf.jabref.export.layout.format.AuthorAbbreviator.format()
-
net.sf.jabref.export.layout.format.AuthorAndsCommaReplacer.format()
-
net.sf.jabref.export.layout.format.AuthorAndsReplacer.format()
-
net.sf.jabref.export.layout.format.AuthorFirstAbbrLastCommas.format()
-
net.sf.jabref.export.layout.format.AuthorFirstAbbrLastOxfordCommas.format()
-
net.sf.jabref.export.layout.format.AuthorFirstLastCommas.format()
-
net.sf.jabref.export.layout.format.AuthorFirstLastOxfordCommas.format()
-
net.sf.jabref.export.layout.format.AuthorLastFirst.format()
-
net.sf.jabref.export.layout.format.AuthorLastFirstAbbrCommas.format()
-
net.sf.jabref.export.layout.format.AuthorLastFirstAbbrOxfordCommas.format()
-
net.sf.jabref.export.layout.format.AuthorLastFirstAbbreviator.format()
@see net.sf.jabref.export.layout.LayoutFormatter#format(java.lang.String)
-
net.sf.jabref.export.layout.format.AuthorLastFirstCommas.format()
-
net.sf.jabref.export.layout.format.AuthorLastFirstOxfordCommas.format()
-
net.sf.jabref.export.layout.format.AuthorOrgSci.format()
-
net.sf.jabref.export.layout.format.CompositeFormat.format()
-
net.sf.jabref.export.layout.format.DOICheck.format()
-
net.sf.jabref.export.layout.format.HTMLChars.format()
-
net.sf.jabref.export.layout.format.HTMLParagraphs.format()
-
net.sf.jabref.export.layout.format.NoSpaceBetweenAbbreviations.format()
-
net.sf.jabref.export.layout.format.RTFChars.format()
-
net.sf.jabref.export.layout.format.RemoveTilde.format()
-
net.sf.jabref.export.layout.format.ResolvePDF.format()
-
net.sf.jabref.export.layout.format.XMLChars.format()
-
net.sf.jabref.export.layout.format.plugin.NameFormat.format()
-
net.sf.jwan.servlet.util.JwanHtmlFormatter.format()
-
net.sf.saxon.number.NumberFormatter.format()
Format a list of numbers.
@param numbers the numbers to be formatted (a sequence of integer values; it may also containpreformatted strings as part of the error recovery fallback)
@return the formatted output string.
-
net.sourceforge.align.formatter.AlFormatter.format()
Formats alignments to a writer preserving all parameters.
-
net.sourceforge.align.formatter.Formatter.format()
Formats alignment list to previously defined location depending on concrete implementation.
@param alignmentList alignment list
-
net.sourceforge.align.formatter.PresentationFormatter.format()
Formats the alignment list using configured writer. The output is stored in two columns. Total width of both columns including frames is defined in constructor.
@see #PresentationFormatter(Writer,int)
@param alignmentList input alignment list
-
net.sourceforge.jdbclogger.core.formatters.ParameterFormatter.format()
-
net.sourceforge.processdash.data.ListData.format()
-
net.sourceforge.processdash.data.SimpleData.format()
-
net.sourceforge.processdash.data.StringData.format()
-
net.sourceforge.processdash.data.util.ResultSet.format()
Format an object from the result set for display. Data rows and columns are numbered starting with 1 and ending with numRows() or numCols(), respectively. Row 0 and column 0 contain header information. Null values in the ResultSet will be formatted as the empty string.
-
net.sourceforge.processdash.i18n.Resources.format()
-
net.sourceforge.squirrel_sql.fw.util.ExceptionFormatter.format()
Returns a custom-formatted message based on the contents of the specified Throwable. An exception can be thrown to indicate that custom formatting couldn't be done and that the default formatting should be applied.
@param t the Throwable to be formatted
@return A formatted version of the message encapsulated by the specifiedthrowable.
@throws Exception in the event that the specified Throwable for whateverreason could not be formatted, an exception can be thrown to indicate that custom formatting wasn't done and that the default formatting should be applied.
-
net.sourceforge.squirrel_sql.plugins.db2.DB2JCCExceptionFormatter.format()
@see net.sourceforge.squirrel_sql.fw.util.ExceptionFormatter#format(Throwable)
-
net.sourceforge.squirrel_sql.plugins.informix.exception.InformixExceptionFormatter.format()
@see net.sourceforge.squirrel_sql.fw.util.ExceptionFormatter#format(java.lang.Throwable)
-
net.sourceforge.stripes.format.Formatter.format()
Formats the supplied value as a String. If the value cannot be formatted because it is an inappropriate type, or because faulty pattern information was supplied, should fail loudly by throwing a RuntimeException or subclass thereof.
@param input an object of a type that the formatter knows how to format
@return a String version of the input, formatted for the chosen locale
-
net.yacy.cora.date.GenericFormatter.format()
Note: The short day format doesn't include any timezone information. This method transforms the date into the GMT/UTC timezone. Example: If the local system time is, 2007-12-18 01:15:00 +0200, then the resulting String will be "2007-12-17". In case you need a format with a timezon offset, use {@link #formatShortDay(TimeZone)}
@return a String representation of the current system date in GMT using theshort day format, e.g. "20071218".
-
nexj.core.integration.MessageFormatter.format()
Formats the message to the specified output.
@param tobj The message to format.
@param message The message metadata. While this can readily bedetermined from the TO class name, at this point a lookup already has been done to determine the formatter component.
@param out The message output.
-
opennlp.ccg.lexicon.Tokenizer.format()
Returns a string for the given list of words, in the format expected by the SRILM tool for factored language models.
-
org.apache.beehive.netui.tags.html.FormatTag.Formatter.format()
-
org.apache.catalina.util.Strftime.format()
Format the date according to the strftime-style string given in the constructor.
@param date the date to format
@return the formatted date
-
org.apache.cocoon.components.language.programming.CodeFormatter.format()
Format and beautify a String
containing source code
@param code The input source code
@param encoding The encoding used for constant strings embedded in thesource code
@return The formatted source code
-
org.apache.commons.httpclient.util.ParameterFormatter.format()
Produces textual representaion of the attribute/value pair using formatting rules defined in RFC 2616
@param buffer output buffer
@param param the parameter to be formatted
-
org.apache.commons.lang.time.FastDateFormat.format()
Formats a Date
, Calendar
or Long
(milliseconds) object.
@param obj the object to format
@param toAppendTo the buffer to append to
@param pos the position - ignored
@return the buffer passed in
-
org.apache.commons.math.util.CompositeFormat.format()
-
org.apache.felix.service.command.CommandSession.format()
Convert an object to string form (CharSequence). The level is defined in the Converter interface, it can be one of INSPECT, LINE, PART. This function always returns a non null value. As a last resort, toString is called on the Object.
@param target
@param level
@return
-
org.apache.fop.apps.Driver.format()
format the formatting object tree into an area tree
-
org.apache.fop.extensions.ExtensionObj.format()
Called for root extensions. Root extensions aren't allowed to generate any visible areas. They are used for extra items that don't show up in the page layout itself. For example: pdf outlines
@param areaTree
-
org.apache.fop.util.text.AdvancedMessageFormat.format()
Formats a message with the given parameters.
@param params a Map of named parameters (Contents: )
@return the formatted message
-
org.apache.ftpserver.command.impl.listing.FileFormater.format()
Format the file
@param file The {@link FtpFile}
@return The formated string based on the {@link FtpFile}
-
org.apache.ftpserver.command.impl.listing.MLSTFileFormater.format()
@see FileFormater#format(FtpFile)
-
org.apache.ftpserver.listing.FileFormater.format()
Format the file
@param file The {@link FileObject}
@return The formated string based on the {@link FileObject}
-
org.apache.ftpserver.listing.MLSTFileFormater.format()
@see FileFormater#format(FileObject)
-
org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.format()
-
org.apache.hadoop.hdfs.server.namenode.NNStorage.format()
Create new dfs name directory. Caution: this destroys all files in this filesystem.
-
org.apache.hivemind.Messages.format()
Formats a string, using {@link java.text.MessageFormat#format(java.lang.String,java.lang.Object[])}.
@param key the key used to obtain a localized pattern using {@link #getMessage(String)}
@param arguments passed to the formatter
-
org.apache.isis.viewer.bdd.common.parsers.DateParser.format()
-
org.apache.james.imapserver.store.MessageFlags.format()
Returns IMAP formatted String of MessageFlags for named user
-
org.apache.jena.riot.out.NodeFormatterTTL.format()
-
org.apache.karaf.shell.console.impl.jline.ConsoleImpl.DelegateSession.format()
-
org.apache.log.format.Formatter.format()
Serialize log event into string.
@param event the event
@return the formatted string
-
org.apache.log.format.PatternFormatter.format()
Format the event according to the pattern.
@param event the event
@return the formatted output
-
org.apache.log.format.RawFormatter.format()
Format log event into string.
@param event the event
@return the formatted string
-
org.apache.log.format.SyslogFormatter.format()
Format log event into syslog string.
@param event the event
@return the formatted string
-
org.apache.log.format.XMLFormatter.format()
Format log event into string.
@param event the event
@return the formatted string
-
org.apache.log4j.Layout.format()
Implement this method to create your own layout format.
-
org.apache.log4j.helpers.AbsoluteTimeDateFormat.format()
Appends to sbuf
the time in the format "HH:mm:ss,SSS" for example, "15:49:37,459"
@param date the date to format
@param sbuf the string buffer to write to
@param fieldPosition remains untouched
-
org.apache.log4j.helpers.ISO8601DateFormat.format()
Appends a date in the format "YYYY-mm-dd HH:mm:ss,SSS" to sbuf
. For example: "1999-11-27 15:49:37,459".
@param sbuf the StringBuffer
to write to
-
org.apache.log4j.helpers.PatternConverter.format()
A template method for formatting in a converter specific way.
-
org.apache.log4j.pattern.CachedDateFormat.format()
Formats a Date into a date/time string.
@param date the date to format
@param sbuf the string buffer to write to
@param fieldPosition remains untouched
-
org.apache.log4j.pattern.PatternConverter.format()
A template method for formatting in a converter specific way.
-
org.apache.log4j.xml.XMLLayout.format()
Formats a {@link LoggingEvent}in conformance with the log4j.dtd.
-
org.apache.logging.log4j.core.Layout.format()
Formats the event suitable for display.
@param event The Logging Event.
@return The formatted event.
@doubt Likely better to write to a OutputStream instead of return a byte[]. (RG) That limits how theAppender can use the Layout. For example, it might concatenate information in front or behind the data and then write it all to the OutputStream in one call.
-
org.apache.maven.plugin.assembly.format.FileFormatter.format()
-
org.apache.myfaces.dateformat.SimpleDateFormatter.format()
-
org.apache.myfaces.extensions.cdi.message.api.Formatter.format()
formats the given instance as string
@param messageContext current message context
@param valueToFormat an instance which should be formatted
@return the formatted result as string
-
org.apache.myfaces.trinidad.util.FastMessageFormat.format()
Formats the given array of strings based on the initial pattern. It is legal for this array to be shorter than that indicated by the pattern, or to have null entries - these will simply be ignored.
@param source an array of strings
-
org.apache.myfaces.trinidadinternal.share.util.FastMessageFormat.format()
Formats the given array of strings based on the initial pattern. It is legal for this array to be shorter than that indicated by the pattern, or to have null entries - these will simply be ignored.
@param source an array of strings
-
org.apache.poi.ss.usermodel.FractionFormat.format()
-
org.apache.shiro.crypto.hash.format.HashFormat.format()
Returns a formatted string representing the specified Hash instance.
@param hash the hash instance to format into a String.
@return a formatted string representing the specified Hash instance.
-
org.apache.sis.io.wkt.WKTFormat.format()
Formats the specified object as a Well Know Text. The formatter accepts at least the following types: {@link FormattableObject}, {@link IdentifiedObject}, {@link org.opengis.metadata.extent.GeographicBoundingBox}, {@link org.opengis.referencing.operation.MathTransform}, {@link org.opengis.referencing.operation.Matrix} and {@link Unit}.
@param object The object to format.
@param toAppendTo Where the text is to be appended.
@throws IOException If an error occurred while writing to {@code toAppendTo}.
@see #getWarning()
-
org.apache.sis.math.StatisticsFormat.format()
Formats the given statistics. This method will delegates to one of the following methods, depending on the type of the given object:
- {@link #format(Statistics,Appendable)}
- {@link #format(Statistics[],Appendable)}
@param object The object to format.
@param toAppendTo Where to format the object.
@param pos Ignored in current implementation.
@return The given buffer, returned for convenience.
-
org.apache.sis.measure.RangeFormat.format()
Formats a {@link Range} and appends the resulting text to a given string buffer.See the
class javadoc for a description of the format.
@param range The {@link Range} object to format.
@param toAppendTo Where the text is to be appended.
@param pos Identifies a field in the formatted text, or {@code null} if none.
@return The string buffer passed in as {@code toAppendTo}, with formatted text appended.
@throws IllegalArgumentException If this formatter can not format the given object.
-
org.apache.sis.util.collection.TreeTableFormat.format()
Writes a graphical representation of the specified tree table in the given stream or buffer. This method iterates recursively over all {@linkplain TreeTable.Node#getChildren() children}. For each {@linkplain #getColumns() column to format} in each node, this method gets a textualrepresentation of the {@linkplain TreeTable.Node#getValue(TableColumn) value in that column}using the formatter obtained by a call to {@link #getFormat(Class)}.
@param tree The tree to format.
@param toAppendTo Where to format the tree.
@throws IOException If an error occurred while writing in the given appender.
@see TreeTables#toString(TreeTable)
-
org.apache.struts2.json.annotations.JSON.format()
-
org.apache.tapestry.form.TranslatedFieldSupport.format()
Formats the field translation.
@param field
@param object
@return
-
org.apache.tapestry.form.translator.DateTranslator.format()
-
org.apache.tapestry.form.translator.NumberTranslator.format()
-
org.apache.tapestry.form.translator.Translator.format()
Invoked during rendering to format an object (which may be null) into a text value (which should not be null) appropriate for the specified field.
@param locale TODO
-
org.apache.tapestry.ioc.MessageFormatter.format()
Formats the message. The arguments are passed to {@link java.util.Formatter} as is with oneexception: Object of type {@link Throwable} are converted to their{@link Throwable#getMessage()} (or, if that is null, to the name of the class).
@param args
@return formatted string
-
org.apache.tapestry.ioc.Messages.format()
Convienience for accessing a formatter and formatting a localized message with arguments.
-
org.apache.tapestry5.ioc.MessageFormatter.format()
Formats the message. The arguments are passed to {@link java.util.Formatter} as is with one exception: Object oftype {@link Throwable} are converted to their {@link Throwable#getMessage()} (or, if that is null, to the name ofthe class).
@param args
@return formatted string
-
org.apache.tapestry5.ioc.Messages.format()
Convenience for accessing a formatter and formatting a localized message with arguments.
-
org.apache.uima.ducc.common.utils.SynchronizedSimpleDateFormat.format()
-
org.apache.velocity.tools.generic.DateTool.format()
Converts the specified object to a date and formats it according to the pattern or style returned by {@link #getFormat()}.
@param obj the date object to be formatted
@return the specified date formatted as a string
@see #format(String format,Object obj,Locale locale,TimeZone timezone)
@since VelocityTools 1.1
-
org.apache.ws.commons.util.XsDateFormat.format()
-
org.apache.ws.commons.util.XsDateTimeFormat.format()
-
org.apache.ws.commons.util.XsTimeFormat.format()
-
org.apache.ws.jaxme.xs.util.XsDateFormat.format()
-
org.apache.ws.jaxme.xs.util.XsDateTimeFormat.format()
-
org.apache.ws.jaxme.xs.util.XsTimeFormat.format()
-
org.apache.ws.security.util.XmlSchemaDateFormat.format()
@see DateFormat#format(java.util.Date)
-
org.apache.wss4j.dom.util.XmlSchemaDateFormat.format()
@see DateFormat#format(java.util.Date)
-
org.archive.wayback.util.StringFormatter.format()
@param key
@param args
@return Localized String for key, interpolated with args
-
org.aspectj.org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.format()
@see org.aspectj.org.eclipse.jdt.core.formatter.CodeFormatter#format(int,java.lang.String,int,int,int,java.lang.String)
-
org.auraframework.util.json.JsonSerializationContext.format()
@return format the output for humanity
-
org.broadinstitute.gatk.utils.sam.GATKSAMRecord.format()
-
org.cafesip.sipunit.PresenceSubscriber.format()
-
org.cafesip.sipunit.SipCall.format()
-
org.cfeclipse.cfml.editors.formatters.CFMLFormattingStrategy.format()
-
org.clapper.util.text.Duration.format()
Format the duration value as a string, like the kind of string handled by the {@link #parse} method. This version formats the stringusing the default locale. For a complete description of what this method produces, see {@link #format(Locale)}.
@return the formatted string
-
org.criticalfailure.torchlight.core.domain.formatter.IObjectPropertyFormatter.format()
-
org.crsh.text.ScreenBuffer.format()
-
org.eclipse.cdt.core.formatter.CodeFormatter.format()
-
org.eclipse.egit.ui.internal.commit.DiffStyleRangeFormatter.format()
-
org.eclipse.jdt.core.formatter.CodeFormatter.format()
Format
source
, and returns a text edit that correspond to the difference between the given string and the formatted string.
It returns null if the given string cannot be formatted.
If the offset position is matching a whitespace, the result can include whitespaces. It would be up to the caller to get rid of preceding whitespaces.
@param kind Use to specify the kind of the code snippet to format. It canbe any of these:
- {@link #K_EXPRESSION}
- {@link #K_STATEMENTS}
- {@link #K_CLASS_BODY_DECLARATIONS}
- {@link #K_COMPILATION_UNIT}
Since 3.4, the comments can be formatted on the fly while using this kind of code snippet
(see {@link #F_INCLUDE_COMMENTS} for more detailed explanation onthis flag) - {@link #K_UNKNOWN}
- {@link #K_SINGLE_LINE_COMMENT}
- {@link #K_MULTI_LINE_COMMENT}
- {@link #K_JAVA_DOC}
@param source the source to format
@param offset the given offset to start recording the edits (inclusive).
@param length the given length to stop recording the edits (exclusive).
@param indentationLevel the initial indentation level, usedto shift left/right the entire source fragment. An initial indentation level of zero or below has no effect.
@param lineSeparator the line separator to use in formatted source,if set to
null
, then the platform default one will be used.
@return the text edit
@throws IllegalArgumentException if offset is lower than 0, length is lower than 0 orlength is greater than source length.
-
org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.format()
@see org.eclipse.jdt.core.formatter.CodeFormatter#format(int,java.lang.String,int,int,int,java.lang.String)
-
org.eclipse.jface.bindings.TriggerSequence.format()
Formats this trigger sequence into the current default look.
@return A string representation for this trigger sequence using thedefault look; never null
.
-
org.eclipse.jface.bindings.keys.KeySequence.format()
Formats this key sequence into the current default look.
@return A string representation for this key sequence using the defaultlook; never null
.
-
org.eclipse.jface.bindings.keys.KeyStroke.format()
Formats this key stroke into the current default look.
@return A string representation for this key stroke using the defaultlook; never null
.
-
org.eclipse.jface.text.IDocumentExtension4.format()
-
org.eclipse.jface.text.formatter.IContentFormatter.format()
Formats the given region of the specified document.The formatter may safely assume that it is the only subject that modifies the document at this point in time.
@param document the document to be formatted
@param region the region within the document to be formatted
-
org.eclipse.jface.text.formatter.IContentFormatterExtension.format()
Formats the given region of the specified document.
The formatter may safely assume that it is the only subject that modifies the document at this point in time. This method is fully reentrant, but not thread-safe.
The formatting process performed by format(IDocument, IFormattingContext)
happens as follows:
- In a first pass the content formatter formats the range of the document to be formatted by using the master formatting strategy. This happens regardless of the content type of the underlying partition.
- In the second pass, the range is formatted again, this time using the registered slave formatting strategies. For each partition contained in the range to be formatted, the content formatter determines its content type and formats the partition with the correct formatting strategy.
@param document The document to be formatted
@param context The formatting context to pass to the formatting strategies. This argument must not be null
.
-
org.eclipse.jface.text.formatter.MultiPassContentFormatter.format()
-
org.eclipse.jgit.diff.DiffFormatter.format()
Format the differences between two trees. The patch is expressed as instructions to modify {@code a} to make it{@code b}.
@param a the old (or previous) side.
@param b the new (or updated) side.
@throws IOException trees cannot be read, file contents cannot be read, or the patch cannot be output.
-
org.eclipse.jgit.lib.ObjectInserter.format()
Format a Tree in canonical format.
@param tree the tree object to format
@return canonical encoding of the tree object.
@throws IOException the tree cannot be loaded, or its not in a writable state.
-
org.eclipse.jgit.lib.Tree.format()
Format this Tree in canonical format.
@return canonical encoding of the tree object.
@throws IOException the tree cannot be loaded, or its not in a writable state.
-
org.eclipse.php.internal.core.format.PhpFormatter.format()
-
org.eclipse.sapphire.LocalizableText.format()
Formats a message using this text as a template. The semantics of this method are equivalent to {@link MessageFormat#format(String template,Object bindings)}.
@param bindings the bindings to substitute into the template
@return the formatted message
-
org.eclipse.sapphire.modeling.xml.XmlElement.format()
-
org.eclipse.wst.css.core.internal.formatter.CSSSourceFormatter.format()
-
org.eclipse.wst.html.core.internal.format.HTMLFormatter.format()
-
org.eclipse.wst.jsdt.core.formatter.CodeFormatter.format()
-
org.eclipse.wst.sse.core.internal.format.IStructuredFormatter.format()
-
org.eigenbase.sql.pretty.SqlPrettyWriter.format()
-
org.elasticsearch.action.view.ViewRequest.format()
Sets the format of the document
-
org.exoplatform.portal.mop.page.PageKey.format()
-
org.fest.assertions.error.MessageFormatter.format()
Interprets a printf-style format {@code String} for failed assertion messages. It is similar to
{@link String#format(String,Object)}
, except for:
- the value of the given
{@link Description}
is used as the first argument referenced in the format string - each of the arguments in the given array is converted to a {@code String} by invoking
{@link ToString#toStringOf(Object)}
.
@param d the description of the failed assertion, may be {@code null}.
@param format the format string.
@param args arguments referenced by the format specifiers in the format string.
@throws NullPointerException if the format string is {@code null}.
@return A formatted {@code String}.
-
org.geoserver.util.ISO8601Formatter.format()
Formats the specified object either as a single time, if it's a Date, or as a continuous interval, if it's a DateRange (and will throw an {@link IllegalArgumentException} otherwise)
@param date
@return
-
org.geotools.measure.AngleFormat.format()
Format an angle. The string will be formatted according the pattern set in the last call to {@link #applyPattern}.
@param angle Angle to format, in degrees.
@return The formatted string.
-
org.geotools.measure.CoordinateFormat.format()
Formats a direct position. The position's dimension must matches the {@linkplain #getCoordinateReferenceSystem coordinate reference system} dimension.
@param point The position to format.
@return The formatted position.
@throws IllegalArgumentException if this {@code CoordinateFormat}cannot format the given object.
-
org.geotools.parameter.ParameterWriter.format()
Prints the elements of an operation to the output stream.
@param operation The operation method to format.
@throws IOException if an error occured will writing to the stream.
-
org.ggf.drmaa.PartialTimestampFormat.format()
Translates the PartialTimestamp into a DRMAA specified time string and appends the string to the given StringBuffer. Since the PartialTimestampFormat class doesn't use fields, the fieldPosition parameter is ignored. This method is equivalent to
stringBuffer.append (format (obj))
.
In order to represent a PartialTimestamp object as a string, the PartialTimestamp object cannot have an unset field that is less significant than the most significant set field. TThat is to say that if CENTURY
is set, YEAR
, MONTH
, and DAY_OF_MONTH
must also be set. SECONDS
and ZONE_OFFSET
are always optional.
@param obj the object to format
@param stringBuffer the StringBuffer to which to append the results
@param fieldPosition ignored
@return the stringBuffer parameter
-
org.gwtwidgets.client.util.SimpleDateFormat.format()
-
org.hibernate.validator.internal.engine.messageinterpolation.FormatterWrapper.format()
-
org.jasig.portal.utils.TableFormatter.format()
-
org.javatari.atari.cartridge.Cartridge.format()
-
org.jboss.as.cli.ModelNodeFormatter.format()
-
org.jboss.bpm.console.client.model.util.SimpleDateFormat.format()
-
org.jboss.dashboard.export.ExportManager.format()
-
org.jboss.seam.solder.messages.Message.format()
-
org.jeecgframework.core.annotation.query.QueryTimeFormat.format()
-
org.jfree.chart.util.RelativeDateFormat.format()
Formats the given date as the amount of elapsed time (relative to the base date specified in the constructor).
@param date the date.
@param toAppendTo the string buffer.
@param fieldPosition the field position.
@return The formatted date.
-
org.jitterbit.util.StorageSizeUnit.format()
-
org.jnetpcap.packet.format.JFormatter.format()
Format.
@param header the header
@throws IOException Signals that an I/O exception has occurred.
-
org.jnetpcap.packet.format.TextFormatter.format()
-
org.jnetpcap.packet.format.XmlFormatter.format()
-
org.jnode.fs.fat.FatFileSystemFormatter.format()
@param device a device that supports the {@link FSBlockDeviceAPI}.
@return the formatted FAT file system.
@throws FileSystemException
-
org.jnode.fs.fat.GrubFatFormatter.format()
@see org.jnode.fs.fat.FatFormatter#format(BlockDeviceAPI)
-
org.jnode.shell.syntax.AlternativesSyntax.format()
-
org.jnode.shell.syntax.MuAlternation.format()
-
org.jnode.shell.syntax.MuSyntax.format()
Render this MuSyntax object and its descendants nodes as text, using a BNF-like syntax. The 'label' values (if present) will supply the BNF production names. (Note: if the 'label' values are non-unique, the formatted text will be malformed.)
@return a BNF-like rendering of the MuSyntax tree.
-
org.jnode.shell.syntax.OptionSyntax.format()
-
org.jnode.shell.syntax.PowersetSyntax.format()
-
org.jnode.shell.syntax.RepeatSyntax.format()
-
org.jnode.shell.syntax.SequenceSyntax.format()
-
org.jnode.shell.syntax.Syntax.format()
-
org.jruby.util.RubyDateFormat.format()
@see DateFormat#format(Date,StringBuffer,FieldPosition)
-
org.jsmpp.util.RelativeTimeFormatter.format()
-
org.jsmpp.util.TimeFormatter.format()
Format the date to {@link String} representation.
@param calendar is the calendar to format.
@return the formatted date or null
if the date
is null
.
-
org.jvnet.localizer.ResourceBundleHolder.format()
-
org.jwall.tools.TimeFormat.format()
-
org.jzkit.search.util.QueryFormatter.QueryFormatter.format()
-
org.kapott.hbci.manager.ChallengeInfo.Param.format()
-
org.lilyproject.indexer.model.indexerconf.Formatter.format()
Formats the given values.
All the supplied values are of the same type, but not necessarily from the same field:
- In case of a simple LIST-type field, each value of the field will be a separate IndexValue in the supplied list.
- In case of nested lists, such as a LIST<LIST<LIST<STRING>>>, the first list-level will be converted to IndexValues in the supplied list, the value of each IndexValue is then a List<List<String>>.
- In case of a LIST<LINK>-type field on which a dereference (=>) is performed to a single-valued field, each IndexValue will be the value of that single-valued field from a different record.
- In case of a LIST<LINK>-type field (with M values) dereferencing towards a LIST field (with N values), there will be IndexValues for each value of the dereferenced field, that is MxN values.
- ...
The above is just to explain why the first list level is treated differently (i.e., supplied as IndexValue objects) then nested lists.
It is not required that the items in the returned list correspond to those in the input list: they can be more or less items or they can be in a different order.
-
org.lilyproject.indexer.model.indexerconf.NameTemplate.format()
format without a context value (for testing!)
-
org.mindswap.pellet.jena.NodeFormatter.format()
-
org.mindswap.pellet.utils.Timer.format()
-
org.ocpsoft.pretty.time.PrettyTime.format()
-
org.ocpsoft.prettytime.PrettyTime.format()
Format the given {@link Date} object. This method applies the {@code PrettyTime.approximateDuration(date)} methodto perform its calculation. If {@code then} is null, it will default to {@code new Date()}; also decorate for past/future tense.
@param duration the {@link Date} to be formatted
@return A formatted string representing {@code then}
-
org.olap4j.layout.RectangularCellSetFormatter.format()
-
org.openjena.riot.out.NodeFormatterTTL.format()
-
org.openstreetmap.osmosis.core.time.DateFormatter.format()
Formats a date in XML format.
@param date The date to be formatted.
@return The string representing the date.
-
org.osgeo.proj4j.units.AngleFormat.format()
-
org.outerj.i18n.DateFormat.format()
-
org.outerj.i18n.DecimalFormat.format()
-
org.pdf4j.saxon.number.NumberFormatter.format()
Format a list of numbers.
@param numbers the numbers to be formatted (a sequence of integer values; it may also containpreformatted strings as part of the error recovery fallback)
@return the formatted output string.
-
org.pentaho.reporting.libraries.formatting.FastDecimalFormat.format()
Formats the given object in a formatter-specific way.
@param parameters the parameters for the formatting.
@return the formatted string.
-
org.pentaho.reporting.libraries.formatting.FastMessageFormat.format()
Formats the given object in a formatter-specific way.
@param parameters the parameters for the formatting.
@return the formatted string.
-
org.photovault.imginfo.FuzzyDate.format()
-
org.restlet.routing.Template.format()
Creates a formatted string based on the given map of values.
@param values The values to use when formatting.
@return The formatted string.
@see Resolver#createResolver(Map)
-
org.restlet.util.Template.format()
-
org.sgx.yuigwt.yui.yql.YQLParams.format()
@return
-
org.shiftone.jrat.util.io.csv.field.Field.format()
-
org.snmp4j.util.VariableTextFormat.format()
Returns a textual representation of the supplied variable against the optionally supplied instance OID.
@param instanceOID the instance OID variable
is associated with. If null
the formatting cannot take any MIB specification of the variable into account and has to format it based on its type only.
@param variable the variable to format.
@param withOID if true
the instanceOID
should be included in the textual representation to form a {@link VariableBinding}representation.
@return the textual representation.
-
org.socialmusicdiscovery.server.support.format.TitleFormat.format()
Returns the formatted string based on the provided object, the object will have the name "object". Calling this method is the same as calling {@link #format(Map)} with a single object in the map with the key "object".
@param object The object to take values from during the formatting
@return The formatted string
-
org.sonatype.gshell.util.PrintBuffer.format()
-
org.springframework.data.rest.shell.formatter.Formatter.format()
-
org.springframework.roo.classpath.details.comments.CommentFormatter.format()
Format a given comment string with the indent level specified.
@param comment
@param indentLevel
@return
-
org.springframework.web.socket.sockjs.frame.SockJsFrameFormat.format()
-
org.threeten.bp.format.DateTimeFormatter.format()
Formats a date-time object using this formatter.
This formats the date-time to a String using the rules of the formatter.
@param temporal the temporal object to print, not null
@return the printed string, not null
@throws DateTimeException if an error occurs during formatting
-
org.timepedia.chronoscope.client.render.domain.TickFormatter.format()
Formats the parameter tick as a String.
-
org.timepedia.chronoscope.client.util.DateFormatter.format()
-
org.tmatesoft.svn.core.internal.util.SVNDate.format()
-
org.uengine.util.ExpressionFormatter.format()
-
org.ulti.dev.powermeter.util.RFC3339DateFormat.format()
-
processing.app.format.AutoFormat.format()
-
pspdash.data.ResultSet.format()
Format an object from the result set for display. Data rows and columns are numbered starting with 1 and ending with numRows() or numCols(), respectively. Row 0 and column 0 contain header information. Null values in the ResultSet will be formatted as the empty string.
-
pspdash.data.SimpleData.format()
-
pt.opensoft.math.BigNumber.format()
Parecido com o toString() mas fica 34.567,56 em vez de 34567,56
-
pt.opensoft.util.Date.format()
-
pt.opensoft.util.DateTime.format()
-
reportgen.formatter.simple.ResultGroup.format()
Выводит в отформатированном виде группу и ее содержимое рекурсивно
@param txt
@param level
@throws reportgen.ren.exception.ReportException
-
ru.org.linux.util.formatter.RuTypoChanger.format()
Делает всякие типографичские штучки (тире и кавычки).
@param input
@return форматированный текст
-
ru.org.linux.util.formatter.ToHtmlFormatter.format()
Форматирует текст
@param text текст
@param secure флаг https
@param nofollow
@return отфарматированный текст
-
samples.system.SystemClassUser.format()
-
umontreal.iro.lecuyer.util.Chrono.format()
-
us.codecraft.webmagic.model.formatter.DateFormatter.format()
-
utils.FeatureAttributeFormatter.format()
-
weka.core.matrix.FlexibleDecimalFormat.format()