TermToBytesRefAttribute and store bytes directly
 instead. This class will be removed in Lucene 5.0@Deprecated public final class IndexableBinaryStringTools extends Object
| Modifier and Type | Method and Description | 
|---|---|
static void | 
decode(char[] inputArray,
      int inputOffset,
      int inputLength,
      byte[] outputArray,
      int outputOffset,
      int outputLength)
Deprecated.  
Decodes the input char sequence into the output byte sequence. 
 | 
static void | 
encode(byte[] inputArray,
      int inputOffset,
      int inputLength,
      char[] outputArray,
      int outputOffset,
      int outputLength)
Deprecated.  
Encodes the input byte sequence into the output char sequence. 
 | 
static int | 
getDecodedLength(char[] encoded,
                int offset,
                int length)
Deprecated.  
Returns the number of bytes required to decode the given char sequence. 
 | 
static int | 
getEncodedLength(byte[] inputArray,
                int inputOffset,
                int inputLength)
Deprecated.  
Returns the number of chars required to encode the given bytes. 
 | 
public static int getEncodedLength(byte[] inputArray,
                   int inputOffset,
                   int inputLength)
inputArray - byte sequence to be encodedinputOffset - initial offset into inputArrayinputLength - number of bytes in inputArraypublic static int getDecodedLength(char[] encoded,
                   int offset,
                   int length)
encoded - char sequence to be decodedoffset - initial offsetlength - number of characterspublic static void encode(byte[] inputArray,
          int inputOffset,
          int inputLength,
          char[] outputArray,
          int outputOffset,
          int outputLength)
getEncodedLength(byte[], int, int).inputArray - byte sequence to be encodedinputOffset - initial offset into inputArrayinputLength - number of bytes in inputArrayoutputArray - char sequence to store encoded resultoutputOffset - initial offset into outputArrayoutputLength - length of output, must be getEncodedLengthpublic static void decode(char[] inputArray,
          int inputOffset,
          int inputLength,
          byte[] outputArray,
          int outputOffset,
          int outputLength)
getDecodedLength(char[], int, int).inputArray - char sequence to be decodedinputOffset - initial offset into inputArrayinputLength - number of chars in inputArrayoutputArray - byte sequence to store encoded resultoutputOffset - initial offset into outputArrayoutputLength - length of output, must be
        getDecodedLength(inputArray, inputOffset, inputLength)Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.