org.test4j.json.decoder.single
类 BooleanDecoder
java.lang.Object
org.test4j.json.decoder.base.BaseDecoder
org.test4j.json.decoder.base.FixedTypeDecoder
org.test4j.json.decoder.single.BooleanDecoder
- 所有已实现的接口:
- IDecoder
public class BooleanDecoder
- extends FixedTypeDecoder
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toBOOLEAN
public static final BooleanDecoder toBOOLEAN
BooleanDecoder
public BooleanDecoder()
decodeFromString
protected Boolean decodeFromString(String value)
- 指定者:
- 类
FixedTypeDecoder 中的 decodeFromString
toBoolean
public static boolean toBoolean(String value)
- 将字符串转为布尔值
- 参数:
value -
- 返回:
accept
public boolean accept(Type type)
- 从接口
IDecoder 复制的描述
- 是否接受是该类型json解码器
- 返回:
Copyright © 2013. All rights reserved.