Fetch the repository succeeded.
编写 convert 相关实现, 继承 com.github.huifer.convert.think.api.CommonConvert
接口进行开发
启动类添加注解@EnableCommonConvert(scanPackages = {"com.github.huifer.comvert.example.convet"})
scanPackages
代表了 CommonConvert
接口实现的存放位置使用 com.github.huifer.convert.think.impl.ConvertFacade.convert
方法获取转换结果
完整代码请查看SpringBootExample
com.github.huifer.convert.think.api.CommonConvert
接口进行开发start
方法或者main
方法中调用 CommonConvertRunner.start(new String[] {"com.github.huifer.convert.think"})
com.github.huifer.convert.think.impl.ConvertFacade.convert
方法获取转换结果完整代码请查看JavaExample
Sign in for post a comment
Comments ( 0 )