/openjdk10/jdk/test/java/util/logging/HigherResolutionTimeStamps/ |
H A D | SerializeLogRecord.java | 62 SimpleFormatter formatter = new SimpleFormatter(); 63 String str = formatter.format(record); 83 String str2 = formatter.format(record2); 100 String str3 = formatter.format(record3); 158 final SimpleFormatter formatter = new SimpleFormatter(); 160 String str2 = formatter.format(record);
|
H A D | SimpleFormatterNanos.java | 111 SimpleFormatter formatter = new SimpleFormatter(); 112 String str = formatter.format(record);
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.graph/src/org/graalvm/compiler/graph/ |
H A D | Node.java | 1116 public void formatTo(Formatter formatter, int flags, int width, int precision) { argument 1118 formatter.format("%s", toString(Verbosity.Id)); 1121 formatter.format("%s", toString(Verbosity.All)); 1123 formatter.format("%s", toString(Verbosity.Short)); 1130 formatter.format(" pred={"); 1131 this.predecessor.formatTo(formatter, neighborsFlags, width - 1, 0); 1132 formatter.format("}"); 1138 formatter.format(" "); 1139 formatter.format(position.getName()); 1140 formatter [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/colorchooser/ |
H A D | ValueFormatter.java | 45 ValueFormatter formatter = new ValueFormatter(length, hex); 47 text.setFormatterFactory(new DefaultFormatterFactory(formatter)); 50 text.addFocusListener(formatter);
|
/openjdk10/jdk/src/java.logging/share/classes/java/util/logging/ |
H A D | StreamHandler.java | 55 * <li> <handler-name>.formatter 66 * <li> java.util.logging.StreamHandler.formatter=java.util.logging.SimpleFormatter </li> 72 * <li> com.foo.MyHandler.formatter=java.util.logging.SimpleFormatter </li> 96 * @param formatter Formatter to be used to format output 98 public StreamHandler(OutputStream out, Formatter formatter) { argument 99 // configure with default level but use specified formatter 100 super(Level.INFO, null, Objects.requireNonNull(formatter));
|
/openjdk10/jdk/test/java/util/logging/ |
H A D | XMLFormatterDate.java | 123 XMLFormatter formatter = new XMLFormatter(); 124 final String formatted = formatter.format(record);
|
/openjdk10/langtools/test/tools/javac/Diagnostics/7116676/ |
H A D | T7116676.java | 86 DiagnosticFormatter<JCDiagnostic> formatter = 88 String msg = formatter.formatMessage(dc.diag, Locale.getDefault());
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/utils/ |
H A D | XMLLimitAnalyzer.java | 250 Formatter formatter = new Formatter(); 251 System.out.println(formatter.format("%30s %15s %15s %15s %30s", 255 formatter = new Formatter(); 256 System.out.println(formatter.format("%30s %15d %15d %15d %30s",
|
/openjdk10/jdk/src/java.base/share/classes/java/net/ |
H A D | HostPortrange.java | 93 Formatter formatter = new Formatter(sb, Locale.US); 94 formatter.format("%02x%02x:%02x%02x:%02x%02x:%02x" 145 Formatter formatter = new Formatter(sb, Locale.US); 146 formatter.format("%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3]);
|
/openjdk10/jdk/test/java/text/Format/NumberFormat/ |
H A D | NumberRegression.java | 520 NumberFormat formatter; 532 formatter = NumberFormat.getNumberInstance(Locale.FRANCE); 533 tempString = formatter.format (-5789.9876); 544 formatter = NumberFormat.getCurrencyInstance(Locale.FRANCE); 545 tempString = formatter.format( 5789.9876 ); 556 formatter = NumberFormat.getPercentInstance(Locale.FRANCE); 557 tempString = formatter.format (-5789.9876); 572 NumberFormat formatter; 584 formatter = NumberFormat.getNumberInstance(Locale.CANADA_FRENCH); 585 tempString = formatter [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/time/format/ |
H A D | DateTimeFormatter.java | 117 * {@code format(DateTimeFormatter formatter)}, and one for parsing, 118 * {@code parse(CharSequence text, DateTimeFormatter formatter)}. 122 * String text = date.format(formatter); 123 * LocalDate parsedDate = LocalDate.parse(text, formatter); 129 * The {@link #withLocale withLocale} method returns a new formatter that 132 * formatter that uses the locale specific date format. 134 * The {@link #withChronology withChronology} method returns a new formatter 139 * The {@link #withZone withZone} method returns a new formatter that overrides 144 * The {@link #withDecimalStyle withDecimalStyle} method returns a new formatter that 266 * A formatter create 2137 private final DateTimeFormatter formatter; field in class:DateTimeFormatter.ClassicFormat 2141 ClassicFormat(DateTimeFormatter formatter, TemporalQuery<?> parseType) argument [all...] |
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/ |
H A D | RichDiagnosticFormatter.java | 53 * A rich diagnostic formatter is a formatter that provides better integration 56 * the diagnostic is rendered using a standard formatter, whose type/symbol printer 57 * has been replaced by a more refined version provided by this rich formatter. 58 * The rich formatter currently enables three different features: (i) simple class 80 /* name simplifier used by this formatter */ 83 /* type/symbol printer used by this formatter */ 105 configuration = new RichConfiguration(Options.instance(context), formatter); 117 sb.append(formatter.format(diag, l)); 120 String indent = formatter 642 RichConfiguration(Options options, AbstractDiagnosticFormatter formatter) argument [all...] |
/openjdk10/jdk/test/java/text/Format/DateFormat/ |
H A D | DateFormatTest.java | 347 SimpleDateFormat formatter = new SimpleDateFormat(format); 350 now = formatter.format(date1); 356 Date date2 = formatter.parse(now, pos); 360 then = formatter.format(date2); 460 SimpleDateFormat formatter = new SimpleDateFormat(bigD); 462 Date myDate = formatter.parse( dateString, pos ); 468 formatter = new SimpleDateFormat(littleD); 470 myDate = formatter.parse( dateString, pos ); 524 SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy 'at' hh:mm:ss a zzz"); 526 String dateString = formatter [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/time/ |
H A D | OffsetTime.java | 316 * Obtains an instance of {@code OffsetTime} from a text string using a specific formatter. 318 * The text is parsed using the formatter, returning a time. 321 * @param formatter the formatter to use, not null 325 public static OffsetTime parse(CharSequence text, DateTimeFormatter formatter) { argument 326 Objects.requireNonNull(formatter, "formatter"); 327 return formatter.parse(text, OffsetTime::from); 1196 * Formats this time using the specified formatter. 1198 * This time will be passed to the formatter t 1204 format(DateTimeFormatter formatter) argument [all...] |
H A D | YearMonth.java | 284 * Obtains an instance of {@code YearMonth} from a text string using a specific formatter. 286 * The text is parsed using the formatter, returning a year-month. 289 * @param formatter the formatter to use, not null 293 public static YearMonth parse(CharSequence text, DateTimeFormatter formatter) { argument 294 Objects.requireNonNull(formatter, "formatter"); 295 return formatter.parse(text, YearMonth::from); 1063 * Formats this year-month using the specified formatter. 1065 * This year-month will be passed to the formatter t 1071 format(DateTimeFormatter formatter) argument [all...] |
H A D | Year.java | 281 * Obtains an instance of {@code Year} from a text string using a specific formatter. 283 * The text is parsed using the formatter, returning a year. 286 * @param formatter the formatter to use, not null 290 public static Year parse(CharSequence text, DateTimeFormatter formatter) { argument 291 Objects.requireNonNull(formatter, "formatter"); 292 return formatter.parse(text, Year::from); 930 * Formats this year using the specified formatter. 932 * This year will be passed to the formatter t 938 format(DateTimeFormatter formatter) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/ |
H A D | InternationalFormatter.java | 373 InternationalFormatter formatter = (InternationalFormatter)super. 376 formatter.literalMask = null; 377 formatter.iterator = null; 378 formatter.validMask = false; 379 formatter.string = null; 380 return formatter; 981 void resetFromValue(InternationalFormatter formatter) { argument 986 text = formatter.valueToString(value);
|
H A D | DefaultFormatter.java | 318 DefaultFormatter formatter = (DefaultFormatter)super.clone(); 320 formatter.navigationFilter = null; 321 formatter.documentFilter = null; 322 formatter.replaceHolder = null; 323 return formatter;
|
/openjdk10/jdk/test/java/time/test/java/time/format/ |
H A D | TestTextPrinterWithLocale.java | 126 DateTimeFormatter formatter = getPatternFormatter(pattern).withLocale(locale); 127 String text = formatter.format(dayOfWeek);
|
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/ |
H A D | CodeUtil.java | 391 RefMapFormatter formatter = formatterArg; 392 if (formatter == null) { 393 formatter = new NumberedRefMapFormatter(); 405 sb.append(" ").append(e.getValue()).append(" -> ").append(formatter.formatStackSlot(e.getKey())).append(nl);
|
/openjdk10/jdk/src/java.base/share/classes/java/time/chrono/ |
H A D | ChronoLocalDate.java | 627 * Formats this date using the specified formatter. 629 * This date will be passed to the formatter to produce a string. 633 * return formatter.format(this); 636 * @param formatter the formatter to use, not null 640 default String format(DateTimeFormatter formatter) { argument 641 Objects.requireNonNull(formatter, "formatter"); 642 return formatter.format(this);
|
H A D | ChronoZonedDateTime.java | 508 * Formats this date-time using the specified formatter. 510 * This date-time will be passed to the formatter to produce a string. 514 * return formatter.format(this); 517 * @param formatter the formatter to use, not null 521 default String format(DateTimeFormatter formatter) { argument 522 Objects.requireNonNull(formatter, "formatter"); 523 return formatter.format(this);
|
H A D | ChronoLocalDateTime.java | 391 * Formats this date-time using the specified formatter. 393 * This date-time will be passed to the formatter to produce a string. 397 * return formatter.format(this); 400 * @param formatter the formatter to use, not null 404 default String format(DateTimeFormatter formatter) { argument 405 Objects.requireNonNull(formatter, "formatter"); 406 return formatter.format(this);
|
/openjdk10/jdk/src/java.base/share/classes/java/io/ |
H A D | Console.java | 167 * of the formatter class specification. 172 formatter.format(fmt, args).flush(); 207 * formatter class specification. 237 * of the formatter class specification. 301 * section of the formatter class specification. 371 private Formatter formatter; field in class:Console 576 formatter = new Formatter(out);
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | JFormattedTextField.java | 96 * AbstractFormatter formatter = ftf.getFormatter(); 97 * if (formatter != null) { 100 * formatter.stringToValue(text); 322 * @param formatter AbstractFormatter to use for formatting. 324 public JFormattedTextField(AbstractFormatter formatter) { argument 325 this(new DefaultFormatterFactory(formatter)); 1079 AbstractFormatter formatter = (AbstractFormatter)super.clone(); 1081 formatter.ftf = null; 1082 return formatter;
|