---
title: "代码整合链接KFS"
author: "wangwei3"
date: "2011-02-23T12:58:35Z"
tags: []
categories: ["互联网"]
slug: "kfs"
draft: false
lastmod: "2011-02-23T12:58:35Z"
id: 919268
url: "https://wangwei3.iteye.com/blog/919268"
---

**客户端代码**

 通过应用程序使用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.