/openjdk7/jdk/src/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...] |
/openjdk7/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 | BasicBoolean.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicBooleanObject.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicChar.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicCharObject.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicBigInteger.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicByte.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicByteObject.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicInt.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicIntObject.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicLong.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicLongObject.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicShort.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
H A D | BasicShortObject.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 59 Formatter f = new Formatter(new StringBuilder(), l); 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 348 // Formatter.java class javadoc examples
|
/openjdk7/jdk/src/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 | 40 * default values for the <tt>Handler</tt>'s <tt>Filter</tt>, <tt>Formatter</tt>, 52 private Formatter formatter; 63 * level of <tt>Level.ALL</tt>, no <tt>Formatter</tt>, and no 103 * Set a <tt>Formatter</tt>. This <tt>Formatter</tt> will be used 107 * which case the <tt>Formatter</tt> will be remembered, but not used. 109 * @param newFormatter the <tt>Formatter</tt> to use (may not be null) 113 public void setFormatter(Formatter newFormatter) throws SecurityException { 121 * Return the <tt>Formatter</tt> for this <tt>Handler</tt>. 122 * @return the <tt>Formatter</t [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/ |
H A D | HTMLGenerator.java | 46 static class Formatter { class in class:HTMLGenerator 50 Formatter(boolean h) { method in class:HTMLGenerator.Formatter 70 void append(Formatter s) { 224 Formatter buf = new Formatter(genHTML); 247 Formatter buf = new Formatter(genHTML); 259 Formatter buf = new Formatter(genHTML); 266 Formatter bu [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/declaration/ |
H A D | Constants.java | 69 static Formatter getFormatter() { 70 return new Formatter(new StringBuilder()); 81 static Formatter getFormatter(StringBuilder buf) { 82 return new Formatter(buf); 92 static class Formatter { class in class:Constants 96 private Formatter(StringBuilder buf) { method in class:Constants.Formatter
|
/openjdk7/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);
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipFileAttributes.java | 47 import java.util.Formatter; 141 Formatter fm = new Formatter(sb);
|
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/ |
H A D | SBCS.java | 32 import java.util.Formatter; 64 Formatter out, String closure, 144 Formatter fm = new Formatter(b2cSB); 157 fm = new Formatter(b2cNRSB); 174 fm = new Formatter(c2bNRSB);
|