thrift/lib/java
Mark Slee 52182d674e Make Java TbinaryProtocol enfore UTF-8
Summary: Java Strings have to have an encoding, they can't just be binary. The constructor and getBytes() method enforce this, so we are standardizing on UTF-8 to avoid string-mangling.

Reviewed By: dreiss

Test Plan: Code all works the exact same in the normal case, and doesn't mangle characters beyond ASCII or ISO-LATIN-1


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665321 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 04:48:43 +00:00
..
src Make Java TbinaryProtocol enfore UTF-8 2007-11-03 04:48:43 +00:00
build.xml READMEs and DOCs and ant tasks, oh my 2007-03-06 00:06:27 +00:00
COPYING READMEs and DOCs and ant tasks, oh my 2007-03-06 00:06:27 +00:00
LICENSE READMEs and DOCs and ant tasks, oh my 2007-03-06 00:06:27 +00:00
README READMEs and DOCs and ant tasks, oh my 2007-03-06 00:06:27 +00:00

Thrift Java Software Library

Author: Mark Slee (mcslee@facebook.com)
Last Modified: 2007-Mar-05

Thrift is distributed under the Thrift open source software license.
Please see the included LICENSE file.

Using Thrift with Java
======================

The Thrift Java source is not build using the GNU tools, but rather uses
the Apache Ant build system, which tends to be predominant amongst Java
developers.

To compile the Java Thrift libraries, simply do the following:

ant

Yep, that's easy. Look for libthrift.jar in the base directory.

To include Thrift in your applications simply add libthrift.jar to your
classpath, or install if in your default system classpath of choice.

Dependencies
============

Apache Ant
http://ant.apache.org/