java.util.StringTokenizer

一:单词:
  tokenization
 标志化(tokenization)
标志化(tokenization)指将字节或者字符序列拆散成象词一样的逻辑块的过程。Java提供了StreamTokenizer 类,可以进行如下的操作:
import java.io.*;

delimit 定界 to delimit the epidemic area and the protection area
epidemic 流行病

invoke:
1.援引, 援用;行使(权利等)(法律、规则等作为行动理由)
She had invoked the law in her own defence.
她援引法律为自己辩护。
2.向(某人)请求帮助;(尤指)祈求神助
3.恳求;乞求
She invoked their help.
她恳求他们帮忙
二:API 解释:

public StringTokenizer(String str,
                       String delim)
Constructs a string tokenizer for the specified string. The characters in the delim argument are the delimiters for separating tokens. Delimiter characters themselves will not be treated as tokens.
Note that if delim is null, this constructor does not throw an exception. However, trying to invoke other methods on the resulting StringTokenizer may result in a NullPointerException.


Parameters:
str - a string to be parsed.
delim - the delimiters.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值