代码整合链接KFS
客户端代码
通过应用程序使用API,有两个例子在以下包中。
- ~/code/kfs/examples/KfsTest_main.cc
- ~/code/kfs/examples/KfsTest.java
Each program shows how to use the client-side API. The KFS client library API is defined in:
- C++: ~/code/kfs/src/cc/libkfsClient/KfsClient.h
- Java: ~/code/kfs/src/java/org/kosmix/kosmosfs/access/KfsAccess.java
NOTE: For Java applications, we use the JNI interface to get at the C++ KFS client library code from Java applications.