| 程序包 | 说明 |
|---|---|
| cn.sliew.milky.common.parse |
| 限定符和类型 | 方法和说明 |
|---|---|
Token |
Token.append(String segmentType,
String value)
Construct a new
Token by appending a new TokenFormat.Segment, based
on the supplied segmentType and value, to the end of this
Token. |
Token |
Token.append(TokenFormat.Segment segment)
|
static Token |
Token.parse(String token)
Parse a
Token from the supplied string representation using the default format. |
Token |
Token.removeLastSegment()
|
static Token |
Token.root(String segmentType,
String value)
Create a root Token from the supplied
segmentType and
value using the default format. |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
Token.hasPrefix(Token potentialPrefix)
Determine if the supplied
Token is a prefix for this
Token. |
Copyright © 2021. All rights reserved.