public class CharType extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
CT_CHINESE
中文字符
|
static byte |
CT_CNUM
中文数字
|
static byte |
CT_DELIMITER
分隔符"!,.?()[]{}+=
|
static byte |
CT_INDEX
序号
|
static byte |
CT_LETTER
字母
|
static byte |
CT_NUM
数字
|
static byte |
CT_OTHER
其他
|
static byte |
CT_SINGLE
单字节
|
static byte[] |
type |
| Constructor and Description |
|---|
CharType() |
| Modifier and Type | Method and Description |
|---|---|
static byte |
get(char c)
获取字符的类型
|
static void |
set(char c,
byte t)
设置字符类型
|
public static final byte CT_SINGLE
public static final byte CT_DELIMITER
public static final byte CT_CHINESE
public static final byte CT_LETTER
public static final byte CT_NUM
public static final byte CT_INDEX
public static final byte CT_CNUM
public static final byte CT_OTHER
public static byte[] type
Copyright © 2014–2021 码农场. All rights reserved.