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
|
* Dumps an {@link FST} to a GraphViz's <code>dot</code> language description
|
||||||
* for visualization. Example of use:
|
* for visualization. Example of use:
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre class="prettyprint">
|
||||||
* PrintStream ps = new PrintStream("out.dot");
|
* PrintWriter pw = new PrintWriter("out.dot");
|
||||||
* fst.toDot(ps);
|
* Util.toDot(fst, pw, true, true);
|
||||||
* ps.close();
|
* pw.close();
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* and then, from command line:
|
* and then, from command line:
|
||||||
|
|
Loading…
Reference in New Issue