Skip to content

Commit b1ef765

Browse files
hboutemygnodet
authored andcommitted
#98 added link to HawtJNI Runtime Library class documentation
will ease discovery of the algorithm behind jansi native library loading, with eventual extraction
1 parent 0507042 commit b1ef765

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

jansi/src/main/java/org/fusesource/jansi/AnsiConsole.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@
3030
* if not on a terminal (see
3131
* <a href="http://fusesource.github.io/jansi/documentation/native-api/index.html?org/fusesource/jansi/internal/CLibrary.html">Jansi native
3232
* CLibrary isatty(int)</a>).
33+
* <p>The native library used is named <code>jansi</code> and is loaded using <a href="http://fusesource.github.io/hawtjni/">HawtJNI</a> Runtime
34+
* <a href="http://fusesource.github.io/hawtjni/documentation/api/index.html?org/fusesource/hawtjni/runtime/Library.html"><code>Library</code></a>
3335
*
3436
* @author <a href="http://hiramchirino.com">Hiram Chirino</a>
3537
* @since 1.0
3638
* @see #systemInstall()
37-
* @see #wrapPrintStream(PrintStream, int) wrapPrintStream(PrintStream, int) for more details on ANSI mode selection
39+
* @see #wrapPrintStream(PrintStream, int) wrapPrintStream(PrintStream, int) for more details on ANSI mode selection
3840
*/
3941
public class AnsiConsole {
4042

jansi/src/main/java/org/fusesource/jansi/WindowsAnsiPrintStream.java

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
* A Windows ANSI escape processor, that uses JNA to access native platform
4848
* API's to change the console attributes (see
4949
* <a href="http://fusesource.github.io/jansi/documentation/native-api/index.html?org/fusesource/jansi/internal/Kernel32.html">Jansi native Kernel32</a>).
50+
* <p>The native library used is named <code>jansi</code> and is loaded using <a href="http://fusesource.github.io/hawtjni/">HawtJNI</a> Runtime
51+
* <a href="http://fusesource.github.io/hawtjni/documentation/api/index.html?org/fusesource/hawtjni/runtime/Library.html"><code>Library</code></a>
5052
*
5153
* @since 1.7
5254
* @author <a href="http://hiramchirino.com">Hiram Chirino</a>

0 commit comments

Comments
 (0)