| /openjdk7/jdk/test/sun/text/resources/Format/ |
| H A D | Bug4651568.java | 42 DecimalFormat formatter = 45 if (formatter.toLocalizedPattern().equals(expectedCurrencyPattern)) 51 " Received: " + formatter.toLocalizedPattern() );
|
| /openjdk7/jdk/src/share/classes/java/util/ |
| H A D | Formattable.java | 122 * Formats the object using the provided {@link Formatter formatter}. 124 * @param formatter 125 * The {@link Formatter formatter}. Implementing classes may call 126 * {@link Formatter#out() formatter.out()} or {@link 127 * Formatter#locale() formatter.locale()} to obtain the {@link 129 * <tt>formatter</tt> respectively. 161 * formatter class specification. 163 void formatTo(Formatter formatter, int flags, int width, int precision); argument
|
| H A D | Date.java | 1079 DateFormat formatter = DateFormat.getDateTimeInstance(); 1080 return formatter.format(this);
|
| /openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
| H A D | ForwardingDiagnosticFormatter.java | 38 * A delegated diagnostic formatter delegates all formatting 39 * actions to an underlying formatter (aka the delegated formatter). 50 * The delegated formatter 52 protected F formatter; field in class:ForwardingDiagnosticFormatter 55 * configuration object used by this formatter 59 public ForwardingDiagnosticFormatter(F formatter) { argument 60 this.formatter = formatter; 61 this.configuration = new ForwardingConfiguration(formatter [all...] |
| H A D | RichDiagnosticFormatter.java | 48 * A rich diagnostic formatter is a formatter that provides better integration 51 * the diagnostic is rendered using a standard formatter, whose type/symbol printer 52 * has been replaced by a more refined version provided by this rich formatter. 53 * The rich formatter currently enables three different features: (i) simple class 75 /* name simplifier used by this formatter */ 78 /* type/symbol printer used by this formatter */ 100 configuration = new RichConfiguration(Options.instance(context), formatter); 112 sb.append(formatter.format(diag, l)); 115 String indent = formatter 604 RichConfiguration(Options options, AbstractDiagnosticFormatter formatter) argument [all...] |
| H A D | JCDiagnostic.java | 64 DiagnosticFormatter<JCDiagnostic> formatter; field in class:JCDiagnostic.Factory 81 this.formatter = new BasicDiagnosticFormatter(messages); 230 return new JCDiagnostic(formatter, kind, lc, flags, source, pos, qualify(kind, key), args); 357 * @param fomatter the formatter to use for the diagnostic 365 protected JCDiagnostic(DiagnosticFormatter<JCDiagnostic> formatter, argument 376 this.defaultFormatter = formatter;
|
| /openjdk7/jdk/src/share/demo/applets/Clock/ |
| H A D | Clock.java | 63 private SimpleDateFormat formatter; // Formats the date displayed field in class:Clock 74 formatter = new SimpleDateFormat("EEE MMM dd hh:mm:ss yyyy", 77 lastdate = formatter.format(currentDate); 114 formatter.applyPattern("s"); 116 s = Integer.parseInt(formatter.format(currentDate)); 120 formatter.applyPattern("m"); 122 m = Integer.parseInt(formatter.format(currentDate)); 126 formatter.applyPattern("h"); 128 h = Integer.parseInt(formatter.format(currentDate)); 146 formatter [all...] |
| /openjdk7/jdk/src/share/classes/java/util/logging/ |
| H A D | Handler.java | 52 private Formatter formatter; field in class:Handler 117 formatter = newFormatter; 125 return formatter;
|
| H A D | StreamHandler.java | 50 * <li> java.util.logging.StreamHandler.formatter 76 setFormatter(manager.getFormatterProperty(cname +".formatter", new SimpleFormatter())); 103 * @param formatter Formatter to be used to format output 105 public StreamHandler(OutputStream out, Formatter formatter) { argument 108 setFormatter(formatter);
|
| /openjdk7/jdk/src/share/classes/java/io/ |
| H A D | PrintWriter.java | 68 private Formatter formatter; field in class:PrintWriter 794 * formatter class specification. 845 * formatter class specification. 902 if ((formatter == null) 903 || (formatter.locale() != Locale.getDefault())) 904 formatter = new Formatter(this); 905 formatter.format(Locale.getDefault(), format, args); 949 * formatter class specification. 962 if ((formatter == null) || (formatter [all...] |
| H A D | PrintStream.java | 63 private Formatter formatter; field in class:PrintStream 861 * formatter class specification. 911 * formatter class specification. 954 * formatter class specification. 967 if ((formatter == null) 968 || (formatter.locale() != Locale.getDefault())) 969 formatter = new Formatter((Appendable) this); 970 formatter.format(Locale.getDefault(), format, args); 1011 * formatter class specification. 1024 if ((formatter [all...] |
| H A D | Console.java | 163 * of the formatter class specification. 168 formatter.format(fmt, args).flush(); 202 * formatter class specification. 232 * of the formatter class specification. 296 * section of the formatter class specification. 366 private Formatter formatter; field in class:Console 571 formatter = new Formatter(out);
|
| /openjdk7/jdk/src/share/classes/sun/tools/jstat/ |
| H A D | JStatLogger.java | 127 public void logSamples(OutputFormatter formatter, int headerRate, argument 138 out.println(formatter.getHeader()); 146 out.println(formatter.getHeader()); 149 out.println(formatter.getRow());
|
| H A D | Jstat.java | 118 OutputFormatter formatter = null; 122 formatter = new OptionOutputFormatter(monitoredVm, format); 156 formatter = new RawOutputFormatter(logged, 189 logger.logSamples(formatter, arguments.headerRate(),
|
| /openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/io/ |
| H A D | MalformedByteSequenceException.java | 46 /** message formatter **/ 73 * @param formatter The MessageFormatter used for building the 81 public MalformedByteSequenceException(MessageFormatter formatter, argument 83 fFormatter = formatter; 131 // The references to the message formatter and locale
|
| /openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
| H A D | XAWTFormatter.java | 40 private MessageFormat formatter; field in class:XAWTFormatter 85 if (formatter == null) { 86 formatter = new MessageFormat(format); 88 formatter.format(args, text, null);
|
| /openjdk7/jdk/src/share/demo/management/JTop/ |
| H A D | JTop.java | 225 NumberFormat formatter; field in class:JTop.DoubleRenderer 233 if (formatter==null) { 234 formatter = NumberFormat.getInstance(); 235 formatter.setMinimumFractionDigits(4); 237 setText((value == null) ? "" : formatter.format(value));
|
| /openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
| H A D | ValueFormatter.java | 44 ValueFormatter formatter = new ValueFormatter(length, hex); 46 text.setFormatterFactory(new DefaultFormatterFactory(formatter)); 49 text.addFocusListener(formatter);
|
| /openjdk7/jdk/src/share/classes/javax/swing/text/ |
| H A D | InternationalFormatter.java | 372 InternationalFormatter formatter = (InternationalFormatter)super. 375 formatter.literalMask = null; 376 formatter.iterator = null; 377 formatter.validMask = false; 378 formatter.string = null; 379 return formatter; 978 void resetFromValue(InternationalFormatter formatter) { argument 983 text = formatter.valueToString(value);
|
| H A D | DefaultFormatter.java | 314 DefaultFormatter formatter = (DefaultFormatter)super.clone(); 316 formatter.navigationFilter = null; 317 formatter.documentFilter = null; 318 formatter.replaceHolder = null; 319 return formatter;
|
| /openjdk7/jdk/src/share/classes/javax/swing/ |
| H A D | JFormattedTextField.java | 87 * AbstractFormatter formatter = ftf.getFormatter(); 88 * if (formatter != null) { 91 * formatter.stringToValue(text); 311 * @param formatter AbstractFormatter to use for formatting. 313 public JFormattedTextField(AbstractFormatter formatter) { argument 314 this(new DefaultFormatterFactory(formatter)); 1076 AbstractFormatter formatter = (AbstractFormatter)super.clone(); 1078 formatter.ftf = null; 1079 return formatter;
|
| H A D | JSpinner.java | 1030 DateFormatter formatter = new DateEditorFormatter(model, format); 1032 formatter); 1039 * the developer may configure the formatter later. 1042 String maxString = formatter.valueToString(model.getStart()); 1043 String minString = formatter.valueToString(model.getEnd()); 1206 NumberFormatter formatter = new NumberEditorFormatter(model, 1209 formatter); 1217 * the developer may configure the formatter later. 1220 String maxString = formatter.valueToString(model.getMinimum()); 1221 String minString = formatter [all...] |
| /openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
| H A D | AquaSpinnerUI.java | 403 final JFormattedTextField.AbstractFormatter formatter = ftf.getFormatter(); 404 if (!(formatter instanceof InternationalFormatter)) return -1; 406 final Format.Field[] fields = ((InternationalFormatter)formatter).getFields(start);
|
| /openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/ |
| H A D | Util.java | 1139 DateFormat formatter = DateFormat.getDateTimeInstance (DateFormat.FULL, DateFormat.FULL, Locale.getDefault ()); 1145 formatter.setTimeZone (java.util.TimeZone.getTimeZone ("JST")); 1147 formatter.setTimeZone (java.util.TimeZone.getDefault ()); 1149 stream.println ("* " + formatter.format (new Date ()));
|
| /openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
| H A D | BasicSpinnerUI.java | 737 JFormattedTextField.AbstractFormatter formatter = 740 if (formatter instanceof InternationalFormatter) { 742 formatter).getFields(start);
|