fix javadoc: use Writer, Util.toDot() and prettify

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1299677 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Koji Sekiguchi 2012-03-12 14:16:12 +00:00
parent 6c216e8931
commit 3710c95e96
1 changed files with 4 additions and 4 deletions

View File

@ -532,10 +532,10 @@ public final class Util {
* Dumps an {@link FST} to a GraphViz's <code>dot</code> language description
* for visualization. Example of use:
*
* <pre>
* PrintStream ps = new PrintStream(&quot;out.dot&quot;);
* fst.toDot(ps);
* ps.close();
* <pre class="prettyprint">
* PrintWriter pw = new PrintWriter(&quot;out.dot&quot;);
* Util.toDot(fst, pw, true, true);
* pw.close();
* </pre>
*
* and then, from command line: