类 MyXStreamUtil


  • public final class MyXStreamUtil
    extends Object
    Xml配置读取工具
    作者:
    RenLiMing(任黎明)
    • 构造器详细资料

      • MyXStreamUtil

        public MyXStreamUtil()
    • 方法详细资料

      • read

        public static final <C> C read​(Class<C> type,
                                       String resource)
        读取
        类型参数:
        C -
        参数:
        type -
        resource -
        返回:
      • create

        public static final com.thoughtworks.xstream.XStream create​(Class<?> type)
        新建
        参数:
        type -
        返回: