public class TextLineBreaks
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static byte |
BREAK_ACTION_DIRECT |
static byte |
BREAK_ACTION_INDIRECT |
static byte |
BREAK_ACTION_PROHIBITED |
static java.lang.String[] |
brkStrs |
static byte |
CHAR_CLASS_AI |
static byte |
CHAR_CLASS_AL |
static byte |
CHAR_CLASS_B2 |
static byte |
CHAR_CLASS_BA |
static byte |
CHAR_CLASS_BB |
static byte |
CHAR_CLASS_BK |
static byte |
CHAR_CLASS_CB |
static byte |
CHAR_CLASS_CL |
static byte |
CHAR_CLASS_CM |
static byte |
CHAR_CLASS_CR |
static byte |
CHAR_CLASS_EX |
static byte |
CHAR_CLASS_GL |
static byte |
CHAR_CLASS_HY |
static byte |
CHAR_CLASS_ID |
static byte |
CHAR_CLASS_IN |
static byte |
CHAR_CLASS_IS |
static byte |
CHAR_CLASS_LF |
static byte |
CHAR_CLASS_NS |
static byte |
CHAR_CLASS_NU |
static byte |
CHAR_CLASS_OP |
static byte |
CHAR_CLASS_PO |
static byte |
CHAR_CLASS_PR |
static byte |
CHAR_CLASS_QU |
static byte |
CHAR_CLASS_SA |
static byte |
CHAR_CLASS_SG |
static byte |
CHAR_CLASS_SP |
static byte |
CHAR_CLASS_SY |
static byte |
CHAR_CLASS_XX |
static byte |
CHAR_CLASS_ZW |
static char |
CHAR_ZERO_WIDTH_JOINER |
static java.lang.String[] |
clsStrs |
static java.text.AttributedCharacterIterator.Attribute |
FLOW_LINE_BREAK |
static java.text.AttributedCharacterIterator.Attribute |
FLOW_PARAGRAPH |
protected static int |
QUICK_LUT_SIZE |
static java.text.AttributedCharacterIterator.Attribute |
WORD_LIMIT |
Constructor and Description |
---|
TextLineBreaks() |
Modifier and Type | Method and Description |
---|---|
protected static void |
buildQuickLut() |
static void |
findLineBrk(java.text.AttributedString as) |
static byte |
getCharCharClass(char ch) |
static byte[] |
stringToLineBreakClasses(java.lang.String s) |
public static final java.text.AttributedCharacterIterator.Attribute WORD_LIMIT
public static final java.text.AttributedCharacterIterator.Attribute FLOW_PARAGRAPH
public static final java.text.AttributedCharacterIterator.Attribute FLOW_LINE_BREAK
public static final char CHAR_ZERO_WIDTH_JOINER
protected static final int QUICK_LUT_SIZE
public static final byte BREAK_ACTION_DIRECT
public static final byte BREAK_ACTION_INDIRECT
public static final byte BREAK_ACTION_PROHIBITED
public static final java.lang.String[] brkStrs
public static final byte CHAR_CLASS_OP
public static final byte CHAR_CLASS_CL
public static final byte CHAR_CLASS_QU
public static final byte CHAR_CLASS_GL
public static final byte CHAR_CLASS_NS
public static final byte CHAR_CLASS_EX
public static final byte CHAR_CLASS_SY
public static final byte CHAR_CLASS_IS
public static final byte CHAR_CLASS_PR
public static final byte CHAR_CLASS_PO
public static final byte CHAR_CLASS_NU
public static final byte CHAR_CLASS_AL
public static final byte CHAR_CLASS_ID
public static final byte CHAR_CLASS_IN
public static final byte CHAR_CLASS_HY
public static final byte CHAR_CLASS_BA
public static final byte CHAR_CLASS_BB
public static final byte CHAR_CLASS_B2
public static final byte CHAR_CLASS_ZW
public static final byte CHAR_CLASS_CM
public static final byte CHAR_CLASS_SA
public static final byte CHAR_CLASS_SP
public static final byte CHAR_CLASS_BK
public static final byte CHAR_CLASS_AI
public static final byte CHAR_CLASS_CR
public static final byte CHAR_CLASS_LF
public static final byte CHAR_CLASS_SG
public static final byte CHAR_CLASS_XX
public static final byte CHAR_CLASS_CB
public static final java.lang.String[] clsStrs
Copyright © 2022 Apache Software Foundation. All Rights Reserved.