Java org.apache.lucene.util UnicodeUtil fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.util UnicodeUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.util UnicodeUtil.

The text is from its open source code.

Field

BytesRefBIG_TERM
A binary term consisting of a number of 0xff bytes, likely to be bigger than other terms (e.g.
intUNI_SUR_HIGH_START
intUNI_SUR_LOW_START
intMAX_UTF8_BYTES_PER_CHAR
Maximum number of UTF8 bytes per UTF16 character.

Method

intUTF16toUTF8(final char[] source, final int offset, final int length, byte[] out)
Encode characters from a char[] source, starting at offset for length chars.
intUTF16toUTF8(final CharSequence s, final int offset, final int length, byte[] out)
Encode characters from this String, starting at offset for length characters.
intUTF8toUTF16(BytesRef bytesRef, char[] chars)
Utility method for #UTF8toUTF16(byte[],int,int,char[])
intUTF8toUTF16(byte[] utf8, int offset, int length, char[] out)
Interprets the given byte array as UTF-8 and converts to UTF-16.