org.test4j.json.decoder.spec
类 ThrowableDecoder

java.lang.Object
  继承者 org.test4j.json.decoder.spec.SpecDecoder
      继承者 org.test4j.json.decoder.spec.ThrowableDecoder
所有已实现的接口:
IDecoder

public class ThrowableDecoder
extends SpecDecoder


构造方法摘要
ThrowableDecoder()
           
 
方法摘要
 boolean accept(Type type)
          是否接受是该类型json解码器
static StackTraceElement castToStackTraceElement(Map<String,Object> map)
           
<T> T
decodeFrom(JSONMap map)
           
 
从类 org.test4j.json.decoder.spec.SpecDecoder 继承的方法
decode
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ThrowableDecoder

public ThrowableDecoder()
方法详细信息

castToStackTraceElement

public static final StackTraceElement castToStackTraceElement(Map<String,Object> map)

accept

public boolean accept(Type type)
从接口 IDecoder 复制的描述
是否接受是该类型json解码器

返回:

decodeFrom

public <T> T decodeFrom(JSONMap map)
             throws Exception
指定者:
SpecDecoder 中的 decodeFrom
抛出:
Exception


Copyright © 2013. All rights reserved.