Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Static Public Member Functions | Static Public Attributes | Private Member Functions

org::apache::vinci::transport::util::UTFConverter Class Reference

List of all members.

Static Public Member Functions

static int calculateUTFLength (char[] inputArray, int startOffset, int endOffset)
static int calculateUTFLength (String inputString)
static byte[] convertStringToUTF (String inputString)
static byte[] convertStringToUTF (char[] inputArray, int startOffset, int endOffset)
static int convertStringToUTF (char[] inputArray, int startOffset, int endOffset, byte[] resultArray)
static int convertStringToUTF (String inputString, byte[] resultArray)
static boolean convertUTFToBool (byte[] bytearr) throws UTFDataFormatException
static double convertUTFToDouble (byte[] bytearr) throws UTFDataFormatException, NumberFormatException
static float convertUTFToFloat (byte[] bytearr) throws UTFDataFormatException, NumberFormatException
static int convertUTFToInt (byte[] bytearr) throws UTFDataFormatException, NumberFormatException
static long convertUTFToLong (byte[] bytearr) throws UTFDataFormatException, NumberFormatException
static int convertUTFToString (byte[] bytearr, final int beginOffset, final int inputLength, char[] result) throws UTFDataFormatException
static String convertUTFToString (byte[] bytearr) throws UTFDataFormatException

Static Public Attributes

static final String FALSE_VALUE = "false"
static final String TRUE_VALUE = "true"

Private Member Functions

 UTFConverter ()

Detailed Description

Provides utility methods for Java string <==> UTF-8 conversion. We don't use the default Java methods for UTF-8 since they are non-standard and not as efficient as this implementation.

Definition at line 28 of file UTFConverter.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index