/openjdk10/jdk/src/java.base/share/classes/java/util/ |
H A D | Formattable.java | 33 * specifier of {@link java.util.Formatter}. This interface allows basic 41 * import java.util.Formatter; 57 * public void formatTo(Formatter fmt, int f, int width, int precision) { 94 * <p> When used in conjunction with the {@link java.util.Formatter}, the above 98 * Formatter fmt = new Formatter(); 122 * Formats the object using the provided {@link Formatter formatter}. 125 * The {@link Formatter formatter}. Implementing classes may call 126 * {@link Formatter#out() formatter.out()} or {@link 127 * Formatter#local [all...] |
/openjdk10/jdk/test/java/util/Formatter/ |
H A D | Constructors.java | 60 static void locale(Formatter f) { 64 static void locale(Formatter f, Locale l) { 75 static void out(Formatter f, Class c) { 88 // Formatter() 89 try (Formatter f = new Formatter()) { 94 fail("new Formatter()", x); 97 // Formatter(Appendable a) 98 try (Formatter f = new Formatter((Appendabl [all...] |
H A D | Close.java | 31 import java.util.Formatter; 63 private static void test(Formatter f) { 77 // Formatter is a Closeable 79 throw new RuntimeException("Formatter is not a Closeable"); 93 test(new Formatter(new C())); 95 test(new Formatter(new NC()));
|
H A D | Flush.java | 32 import java.util.Formatter; 66 private static void test(Formatter f) { 80 // Formatter is a Flushable 82 throw new RuntimeException("Formatter is not a Flushable"); 96 test(new Formatter(new F())); 98 test(new Formatter(new NF()));
|
H A D | FailingConstructors.java | 27 * @summary PrintStream, PrintWriter, Formatter, Scanner leave files open when 38 import java.util.Formatter; 58 /* Formatter(File file, String csn) */ 60 new Formatter(file, UNSUPPORTED_CHARSET); 69 new Formatter(file, null); 77 /* Formatter(String fileName, String csn) */ 79 new Formatter(file.getName(), UNSUPPORTED_CHARSET); 88 new Formatter(file.getName(), null);
|
H A D | BasicCharObject.java | 48 Formatter f = new Formatter(new StringBuilder(), Locale.US); 52 f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 63 f = new Formatter(new StringBuilder(), l); 69 Formatter f = new Formatter(new StringBuilder(), Locale.US); 75 Formatter f = new Formatter(ne [all...] |
H A D | BasicChar.java | 48 Formatter f = new Formatter(new StringBuilder(), Locale.US); 52 f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 63 f = new Formatter(new StringBuilder(), l); 69 Formatter f = new Formatter(new StringBuilder(), Locale.US); 75 Formatter f = new Formatter(ne [all...] |
H A D | BasicBooleanObject.java | 48 Formatter f = new Formatter(new StringBuilder(), Locale.US); 52 f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 63 f = new Formatter(new StringBuilder(), l); 69 Formatter f = new Formatter(new StringBuilder(), Locale.US); 75 Formatter f = new Formatter(ne [all...] |
H A D | BasicBoolean.java | 48 Formatter f = new Formatter(new StringBuilder(), Locale.US); 52 f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 63 f = new Formatter(new StringBuilder(), l); 69 Formatter f = new Formatter(new StringBuilder(), Locale.US); 75 Formatter f = new Formatter(ne [all...] |
H A D | FormatLocale.java | 37 import java.util.Formatter; 76 new Formatter(sb).format(conversions.get(i), src.get(i)); 79 "Wrong uppercasing with Formatter.format(" + 97 Formatter f = new Formatter(sb, (Locale)null);
|
H A D | NullArg.java | 30 import java.util.Formatter;
|
H A D | BasicByte.java | 48 Formatter f = new Formatter(new StringBuilder(), Locale.US); 52 f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 63 f = new Formatter(new StringBuilder(), l); 69 Formatter f = new Formatter(new StringBuilder(), Locale.US); 75 Formatter f = new Formatter(ne [all...] |
H A D | BasicByteObject.java | 48 Formatter f = new Formatter(new StringBuilder(), Locale.US); 52 f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 63 f = new Formatter(new StringBuilder(), l); 69 Formatter f = new Formatter(new StringBuilder(), Locale.US); 75 Formatter f = new Formatter(ne [all...] |
H A D | BasicBigInteger.java | 48 Formatter f = new Formatter(new StringBuilder(), Locale.US); 52 f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 63 f = new Formatter(new StringBuilder(), l); 69 Formatter f = new Formatter(new StringBuilder(), Locale.US); 75 Formatter f = new Formatter(ne [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/ |
H A D | JVMCI.java | 25 import java.util.Formatter; 46 Formatter errorMessage = new Formatter();
|
/openjdk10/jdk/src/java.logging/share/classes/java/util/logging/ |
H A D | Formatter.java | 30 * A Formatter provides support for formatting LogRecords. 32 * Typically each logging Handler will have a Formatter associated 33 * with it. The Formatter takes a LogRecord and converts it to 43 public abstract class Formatter { class 48 protected Formatter() { method in class:Formatter 56 * It is recommended to use the {@link Formatter#formatMessage} 94 * method is provided as a convenience for Formatter subclasses to
|
H A D | Handler.java | 44 * default values for the {@code Handler}'s {@code Filter}, {@code Formatter}, 64 private volatile Formatter formatter; 71 * level of {@code Level.ALL}, no {@code Formatter}, and no 85 * @param defaultFormatter a default {@link Formatter} to configure if one is 90 Handler(Level defaultLevel, Formatter defaultFormatter, 91 Formatter specifiedFormatter) { 98 final Formatter formatter = specifiedFormatter == null 157 * Set a {@code Formatter}. This {@code Formatter} will be used 161 * which case the {@code Formatter} wil [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.api.test/src/org/graalvm/compiler/api/test/ |
H A D | Graal.java | 25 import java.util.Formatter; 70 Formatter errorMessage = new Formatter();
|
/openjdk10/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/scan/ |
H A D | CPEntries.java | 29 import java.util.Formatter; 64 Formatter f = new Formatter(sb, Locale.getDefault());
|
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/classbrowser/ |
H A D | HTMLGenerator.java | 40 static class Formatter { class in class:HTMLGenerator 44 Formatter(boolean h) { method in class:HTMLGenerator.Formatter 64 void append(Formatter s) { 184 Formatter buf = new Formatter(genHTML); 207 Formatter buf = new Formatter(genHTML); 219 Formatter buf = new Formatter(genHTML); 226 Formatter bu [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/ |
H A D | JVMCIVersionCheck.java | 25 import java.util.Formatter; 43 Formatter errorMessage = new Formatter().format(reason, args);
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.options/src/org/graalvm/compiler/options/ |
H A D | OptionKey.java | 25 import java.util.Formatter; 64 Formatter buf = new Formatter();
|
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/jrtfs/ |
H A D | JrtFileAttributes.java | 29 import java.util.Formatter; 118 try (Formatter fm = new Formatter(sb)) {
|
/openjdk10/jdk/test/java/util/Formattable/ |
H A D | StockName.java | 30 import java.util.Formatter; 46 public void formatTo(Formatter fmt, int f, int width, int precision) { 85 Formatter fmt = new Formatter(cb);
|
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/ |
H A D | HotSpotMethod.java | 30 import java.util.Formatter; 76 public void formatTo(Formatter formatter, int flags, int width, int precision) {
|