mirror of https://github.com/apache/lucene.git
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:
parent
6c216e8931
commit
3710c95e96
|
@ -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("out.dot");
|
||||
* fst.toDot(ps);
|
||||
* ps.close();
|
||||
* <pre class="prettyprint">
|
||||
* PrintWriter pw = new PrintWriter("out.dot");
|
||||
* Util.toDot(fst, pw, true, true);
|
||||
* pw.close();
|
||||
* </pre>
|
||||
*
|
||||
* and then, from command line:
|
||||
|
|
Loading…
Reference in New Issue