![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVA
Stitch0626
这个作者很懒,什么都没留下…
展开
-
Java-io流: 下载多文件至压缩包,且划分目录结构
1.代码演示 @RequestMapping("downLoadFile") @ResponseBody public void downLoadFile(HttpServletRequest request, HttpServletResponse response) throws Exception { List<HashMap<String, Object>> dataList原创 2021-01-29 17:09:05 · 379 阅读 · 0 评论 -
时间戳类型转换
public void testFormat(String paramStr){ SimpleDateFormat dateFormat=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); long longTime=new Long(paramStr); //时间戳转long Date longDate=new Date(longTime); // l...翻译 2018-07-02 12:36:30 · 597 阅读 · 0 评论 -
Gradle 构建 SpringBoot工程,简要操作Redis
一,创建Gradle Project后,配置build.gradle依赖jar buildscript{ repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } } dependencies { //使用1.4.2.RELEASE...原创 2018-08-08 18:26:22 · 1367 阅读 · 0 评论 -
Java服务操作Linux下的MySQL数据库进行备份,界面选择路径进行下载
// 演示: 备份MySQL数据库到Linux下/jyd/dbBack/*.sql目录。 public static void backup(HttpServletRequest request, HttpServletResponse response) { OutputStream out = null; // 程序处理器 Process process = nu...原创 2019-07-20 10:19:05 · 412 阅读 · 0 评论