- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 Java定时任务:使用 ScheduledExecutorService 创建定时任务
使用ScheduledExecutorServicescheduleAtFixedRate 实现定时任务: 1、Java代码 public class YdDataReader implements Runnable{ //如果配置文件中的定时任务运行时间run_time为空,使用此默认时间 private static final String RUN_TIME_DE...
2019-11-06 15:09:44 1457
原创 Java读取properties文件工具类
import java.io.IOException; import java.io.InputStream; import java.util.Properties; public class PropertiesUtil { /** * 根据配置文件名称,返回Properties对象 * properties.getProperty("ip").trim() * @ret...
2019-11-01 11:23:43 154 1
oauth2_获取百度授权登录DEMO
2017-09-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人