摘要: JDK SPI机制 SPI(Service Provider Interface),是一种将服务接口与服务实现分离以达到解耦可拔插、大大提升了程序可扩展性的机制。 约定(我觉得称之为规范更合适): 1. 制定统一的规范(比如 java.sql.Driver) 2. 服务提供商提供这个规范具体的实现, 阅读全文
posted @ 2020-03-31 19:13 露娜妹 阅读(4500) 评论(1) 推荐(2) 编辑
摘要: 爬一下最新的行政区划 http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2019/index.html 引入依赖 <!-- https://mvnrepository.com/artifact/com.belerweb/pinyin4j --> <de 阅读全文
posted @ 2020-03-31 10:58 露娜妹 阅读(1811) 评论(1) 推荐(0) 编辑