@Test public void testBlanks() throws Exception { construct("Once\n\ntwice"); fmt.format(); String[] expected = { "Once ", "", "twice " }; String[] actual = outToStrings(outBytes.toString()); compareStringArrays(expected, actual); }
public void format() throws IOException { format(in.lines(), out); }
Fmt { public void format() throws IOException { format(in.lines(), out); } }
Fmt { public void format() throws IOException { format(in.lines(), out); } Fmt(BufferedReader inFile, PrintWriter outFile);  Fmt(PrintWriter out);  Fmt(BufferedReader file);  Fmt(String fname);  Fmt(InputStream file); }
Fmt { public void format() throws IOException { format(in.lines(), out); } Fmt(BufferedReader inFile, PrintWriter outFile);  Fmt(PrintWriter out);  Fmt(BufferedReader file);  Fmt(String fname);  Fmt(InputStream file); static void main(String[] av); void format(); static void format(Stream<String> s, PrintWriter out); }
Fmt { public void format() throws IOException { format(in.lines(), out); } Fmt(BufferedReader inFile, PrintWriter outFile);  Fmt(PrintWriter out);  Fmt(BufferedReader file);  Fmt(String fname);  Fmt(InputStream file); static void main(String[] av); void format(); static void format(Stream<String> s, PrintWriter out); static final int COLWIDTH; }