stoken/java
rtlhq 590a4e56a1 Import Upstream version 0.92 2022-11-24 21:10:51 +08:00
..
src Import Upstream version 0.92 2022-11-24 21:10:51 +08:00
.gitignore Import Upstream version 0.92 2022-11-24 21:10:51 +08:00
README Import Upstream version 0.92 2022-11-24 21:10:51 +08:00
build.xml Import Upstream version 0.92 2022-11-24 21:10:51 +08:00

README

Description:

This directory contains a JNI interface layer for libstoken, and a
demo program to show how it can be used.

Build instructions:

From the top level, run:

    ./configure --with-java
    make
    cd java
    ant
    java -Djava.library.path=../.libs -jar dist/example.jar \
    	{ <token_string> | <stokenrc_path> }

Test/demo code is in src/com/example/
LibStoken wrapper library is in src/org/stoken/