Java实现文件批量导入导出实例(兼容xls,xlsx)

<link href="https://csdnimg.cn/public/favicon.ico" rel="SHORTCUT ICON">
<title>Java实现文件批量导入导出实例(兼容xls,xlsx) - u013322876的博客 - CSDN博客</title>

    
                <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/detail-af7f67f165.min.css">
        
        <script type="application/ld+json">{"@context":"https:\/\/ziyuan.baidu.com\/contexts\/cambrian.jsonld","@id":"https:\/\/blog.csdn.net\/u013322876\/article\/details\/72859089","appid":"1563894916825412","title":"Java\u5b9e\u73b0\u6587\u4ef6\u6279\u91cf\u5bfc\u5165\u5bfc\u51fa\u5b9e\u4f8b\uff08\u517c\u5bb9xls,xlsx\uff09 - u013322876\u7684\u535a\u5ba2","images":["http:\/\/p1.pstatp.com\/large\/24310001e30ff45ccb77","http:\/\/p3.pstatp.com\/large\/242f000568c660f2bd87","http:\/\/p3.pstatp.com\/large\/2432000128721a00e773"],"pubDate":"2019-07-02T23:15:25"}</script>
    
        <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/themes/skin3-template/skin3-template-9b39979775.min.css">
    <script type="text/javascript">
    var username = "u013322876";
    var blog_address = "https://blog.csdn.net/u013322876";
    var static_host = "https://csdnimg.cn/release/phoenix/";
    var currentUserName = "weixin_44129498";
    var isShowAds = true;
    var isOwner = false;
    var loginUrl = "http://passport.csdn.net/account/login?from=https://blog.csdn.net/u013322876/article/details/72859089"
    var blogUrl = "https://blog.csdn.net/";

    var curSkin = "skin3-template";
    // 第四范式所需数据
    var articleTitles = "Java实现文件批量导入导出实例(兼容xls,xlsx) - u013322876的博客";
    
    var nickName = "天涯0818";
    var isCorporate = false;
    var subDomainBlogUrl = "https://blog.csdn.net/"
    var digg_base_url = "https://blog.csdn.net/u013322876/phoenix/comment";
    var articleDetailUrl = "https://blog.csdn.net/u013322876/article/details/72859089";
</script>
<script src="https://csdnimg.cn/public/common/libs/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="https://csdnimg.cn/rabbit/exposure-click/main-1.0.6.js"></script>
<script src="//g.csdnimg.cn/??fixed-sidebar/1.1.3/fixed-sidebar.js,track/1.2.6/track.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://csdnimg.cn/public/sandalstrap/1.4/css/sandalstrap.min.css">
<style>
    .MathJax, .MathJax_Message, .MathJax_Preview{
        display: none
    }
</style>

    Java实现文件批量导入导出实例(兼容xls,xlsx)

    Java实现文件批量导入导出实例(兼容xls,xlsx)

    1、介绍

    java实现文件的导入导出数据库,目前在大部分系统中是比较常见的功能了,今天写个小demo来理解其原理,没接触过的同学也可以看看参考下。

    目前我所接触过的导入导出技术主要有POI和iReport,poi主要作为一些数据批量导入数据库,iReport做报表导出。另外还有jxl类似poi的方式,不过貌似很久没跟新了,2007之后的office好像也不支持,这里就不说了。

    2、POI使用详解

    2.1 什么是Apache POI?

    Apache POI是Apache软件基金会的开放源码函式库,POI提供API给Java程序对Microsoft Office格式档案读和写的功能。

    2.2 POI的jar包导入

    本次讲解使用maven工程,jar包版本使用poi-3.14和poi-ooxml-3.14。目前最新的版本是3.16。因为3.15以后相关api有更新,部分操作可能不一样,大家注意下。

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AxLnBzdGF0cC5jb20vbGFyZ2UvMjQzMTAwMDFlMzBmZjQ1Y2NiNzc)

    2.3 POI的API讲解

    2.3.1 结构

    HSSF - 提供读写Microsoft Excel格式档案的功能。

    XSSF - 提供读写Microsoft Excel OOXML格式档案的功能。

    HWPF - 提供读写Microsoft Word格式档案的功能。

    HSLF - 提供读写Microsoft PowerPoint格式档案的功能。

    HDGF - 提供读写Microsoft Visio格式档案的功能。

    2.3.2 对象

    本文主要介绍HSSF和XSSF两种组件,简单的讲HSSF用来操作Office 2007版本前excel.xls文件,XSSF用来操作Office 2007版本后的excel.xlsx文件,注意二者的后缀是不一样的。

    HSSF在org.apache.poi.hssf.usermodel包中。它实现了Workbook 接口,用于Excel文件中的.xls格式

    常用组件:

    HSSFWorkbook excel的文档对象

    HSSFSheet excel的表单

    HSSFRow excel的行

    HSSFCell excel的格子单元

    HSSFFont excel字体

    HSSFDataFormat 日期格式

    HSSFHeader sheet头

    HSSFFooter sheet尾(只有打印的时候才能看到效果)

    样式:

    HSSFCellStyle cell样式

    辅助操作包括:

    HSSFDateUtil 日期

    HSSFPrintSetup 打印

    HSSFErrorConstants 错误信息表

    XSSF在org.apache.xssf.usemodel包,并实现Workbook接口,用于Excel文件中的.xlsx格式

    常用组件:

    XSSFWorkbook excel的文档对象

    XSSFSheet excel的表单

    XSSFRow excel的行

    XSSFCell excel的格子单元

    XSSFFont excel字体

    XSSFDataFormat 日期格式

    和HSSF类似;

    2.3.3 两个组件共同的字段类型描述

    其实两个组件就是针对excel的两种格式,大部分的操作都是相同的。

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQyZjAwMDU2OGM2NjBmMmJkODc)

    2.3.4 操作步骤

    以HSSF为例,XSSF操作相同。

    首先,理解一下一个Excel的文件的组织形式,一个Excel文件对应于一个workbook(HSSFWorkbook),一个workbook可以有多个sheet(HSSFSheet)组成,一个sheet是由多个row(HSSFRow)组成,一个row是由多个cell(HSSFCell)组成。

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQzMjAwMDEyODcyMWEwMGU3NzM)

    3、代码操作

    3.1 效果图

    惯例,贴代码前先看效果图

    Excel文件两种格式各一个:

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQzMjAwMDEyODllMWQ3MmNiOTc)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQzMzAwMDExYWVhMDJhMjYyMzk)

    代码结构:

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AxLnBzdGF0cC5jb20vbGFyZ2UvMjQzMDAwMDUyMjA4MDc2ZDgxNWU)

    导入后:(我导入了两遍,没做校验)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQzMzAwMDExYWU5MDc1MWViOWM)

    导出效果:

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQyZDAwMDFlMTM3ZDA1NDVhZmI)

    3.2 代码详解

    这里我以Spring+SpringMVC+Mybatis为基础

    Controller:

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQzMjAwMDEyOTBmYzVjOTY3OTI)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3A5LnBzdGF0cC5jb20vbGFyZ2UvMjQzMTAwMDFlNDAxOWVkM2JkZGU)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3A5LnBzdGF0cC5jb20vbGFyZ2UvMjQzMDAwMDUyMmUxYTRlZjQwYWI)

    Service

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQzMDAwMDUyMzgzZmQ3MTc4N2I)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AxLnBzdGF0cC5jb20vbGFyZ2UvMjQzMzAwMDExYzljMzIyMjMwNjU)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQyZDAwMDFlMmY2ZDA4Y2UyNjk)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AxLnBzdGF0cC5jb20vbGFyZ2UvMjQzMDAwMDUyNDBkNWExNDhjNjA)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQzMjAwMDEyYjAwMDE2NTJlYzE)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AxLnBzdGF0cC5jb20vbGFyZ2UvMjQzMzAwMDExZGExZjUxMzQzYTM)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3A5LnBzdGF0cC5jb20vbGFyZ2UvMjQyZjAwMDU2YzFjNDg5MGE1YTc)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3A5LnBzdGF0cC5jb20vbGFyZ2UvMjQzMzAwMDExZGZkMDM3MjJiZGE)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3A5LnBzdGF0cC5jb20vbGFyZ2UvMjQzMTAwMDFlNmI3Zjc3ZjkyMDQ)

    3.3 导出文件api补充

    大家可以看到上面service的代码只是最基本的导出。

    在实际应用中导出的Excel文件往往需要阅读和打印的,这就需要对输出的Excel文档进行排版和样式的设置,主要操作有合并单元格、设置单元格样式、设置字体样式等。

    3.3.1 单元格合并

    使用HSSFSheet的addMergedRegion()方法

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQyZjAwMDU2Yzg1N2YxNGJjODc)

    参数CellRangeAddress 表示合并的区域,构造方法如下:依次表示起始行,截至行,起始列, 截至列

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AxLnBzdGF0cC5jb20vbGFyZ2UvMjQzMTAwMDFlNzQ4MjQ1ZjRlYjA)

    3.3.2 设置单元格的行高和列宽

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AxLnBzdGF0cC5jb20vbGFyZ2UvMjQyZjAwMDU2ZDE2NjBiNjg5Y2U)

    3.3.3 设置单元格样式

    1、创建HSSFCellStyle

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3A5LnBzdGF0cC5jb20vbGFyZ2UvMjQzMTAwMDFlNzYwZmE3OWI5Njg)

    2、设置样式

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AxLnBzdGF0cC5jb20vbGFyZ2UvMjQzMTAwMDFlNzg5MjI0M2ZiOGY)

    3、将样式应用于单元格

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQyZTAwMDU3MTlkYzczNGM4YzA)

    3.3.4设置字体样式

    1、创建HSSFFont对象(调用HSSFWorkbook 的createFont方法)

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQyZjAwMDU2ZDdiYjNmNWZhNjc)

    2、设置字体各种样式

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AzLnBzdGF0cC5jb20vbGFyZ2UvMjQyZDAwMDFlNTRkMzQ3YjZiZTU)

    3、将字体设置到单元格样式

    ![Java实现文件批量导入导出实例(兼容xls,xlsx)](https://imgconvert.csdnimg.cn/aHR0cDovL3AxLnBzdGF0cC5jb20vbGFyZ2UvMjQzMDAwMDUyNjkzZjdkMGJmODc)

    大家可以看出用poi导出文件还是比较麻烦的,等下次在为大家介绍下irport的方法。

    导出的api基本上就是这些,最后也希望上文对大家能有所帮助。

            <div class="hide-article-box hide-article-pos text-center">
            <a class="btn-readmore" data-track-view='{"mod":"popu_376","con":",https://blog.csdn.net/u013322876/article/details/72859089,readmore"}' data-track-click='{"mod":"popu_376","con":",https://blog.csdn.net/u013322876/article/details/72859089,readmore"}'>
                展开阅读全文
                <svg class="icon chevrondown" aria-hidden="true">
                    <use xlink:href="#csdnc-chevrondown"></use>
                </svg>
            </a>
        </div>
    
        <div id="dmp_ad_58"><div id="kp_box_58" data-pid="58" data-track-view='{"mod":"kp_popu_58-386","con":",,"}' data-track-click='{"mod":"kp_popu_58-386","con":",,"}'><div style="width:100%;background:#fff;">
    
    <div class="comment-edit-box d-flex">
    	<a id="commentsedit"></a>
    	<div class="user-img">
    		<a href="//me.csdn.net/weixin_44129498" target="_blank">
    			![在这里插入图片描述](https://imgconvert.csdnimg.cn/aHR0cHM6Ly9hdmF0YXIuY3Nkbi5uZXQvQS9BL0IvM193ZWl4aW5fNDQxMjk0OTguanBn)
    		</a>
    	</div>
    	<form id="commentform">
    		<input type="hidden" id="comment_replyId">
    		<textarea class="comment-content" name="comment_content" id="comment_content" placeholder="想对作者说点什么"></textarea>
    		<div class="opt-box"> <!-- d-flex -->
    			<div id="ubbtools" class="add_code">
    				<a href="#insertcode" code="code" target="_self"><i class="icon iconfont icon-daima"></i></a>
    			</div>
    			<input type="hidden" id="comment_replyId" name="comment_replyId">
    			<input type="hidden" id="article_id" name="article_id" value="72859089">
    			<input type="hidden" id="comment_userId" name="comment_userId" value="">
    			<input type="hidden" id="commentId" name="commentId" value="">
    			<div style="display: none;" class="csdn-tracking-statistics tracking-click" data-mod="popu_384"><a href="#" target="_blank" class="comment_area_btn">发表评论</a></div>
    			<div class="dropdown" id="myDrap">
    				<a class="dropdown-face d-flex align-items-center" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
    				<div class="txt-selected text-truncate">添加代码片</div>
    				<svg class="icon d-block" aria-hidden="true">
    					<use xlink:href="#csdnc-triangledown"></use>
    				</svg>
    				</a>
    				<ul class="dropdown-menu" id="commentCode" aria-labelledby="drop4">
    					<li><a data-code="html">HTML/XML</a></li>
    					<li><a data-code="objc">objective-c</a></li>
    					<li><a data-code="ruby">Ruby</a></li>
    					<li><a data-code="php">PHP</a></li>
    					<li><a data-code="csharp">C</a></li>
    					<li><a data-code="cpp">C++</a></li>
    					<li><a data-code="javascript">JavaScript</a></li>
    					<li><a data-code="python">Python</a></li>
    					<li><a data-code="java">Java</a></li>
    					<li><a data-code="css">CSS</a></li>
    					<li><a data-code="sql">SQL</a></li>
    					<li><a data-code="plain">其它</a></li>
    				</ul>
    			</div>  
    			<div class="right-box">
    				<span id="tip_comment" class="tip">还能输入<em>1000</em>个字符</span>
    				<input type="button" class="btn btn-sm btn-cancel d-none" value="取消回复">
    				<input type="submit" class="btn btn-sm btn-red btn-comment" value="发表评论">
    			</div>
    		</div>
    	</form>
    </div>
    
    	<div class="comment-list-container">
    	<a id="comments"></a>
    	<div class="comment-list-box">
    	</div>
    	<div id="commentPage" class="pagination-box d-none"></div>
    	<div class="opt-box text-center">
    		<div class="btn btn-sm btn-link-blue" id="btnMoreComment"></div>
    	</div>
    </div>
    
    <div class="recommend-item-box recommend-ad-box"><div id="kp_box_59" data-pid="59" data-track-view='{"mod":"kp_popu_59-78","con":",,"}' data-track-click='{"mod":"kp_popu_59-78","con":",,"}'><script type="text/javascript">
    (function() {
        var s = "_" + Math.random().toString(36).slice(2);
        document.write('<div style="" id="' + s + '"></div>');
        (window.slotbydup = window.slotbydup || []).push({
            id: "u3491668",
            container:  s
        });
    })();
    
    <div class="recommend-item-box recommend-ad-box"><div id="kp_box_60" data-pid="60" data-track-view='{"mod":"kp_popu_60-894","con":"3343239142607872410,https://edu.csdn.net/course/detail/5928,"}' data-track-click='{"mod":"kp_popu_60-894","con":"3343239142607872410,https://edu.csdn.net/course/detail/5928,"}'><link rel="stylesheet" href="https://www.csdn.net/company/css/edu-recommend-1.0.1.css">
    

    Java入门

    Java入门 学院 讲师: 荣则

    		<div class="recommend-item-box blog-expert-recommend-box">
    		<div class="d-flex">
    			<div class="blog-expert-recommend">
    				<div class="blog-expert">
    					<div class="blog-expert-flexbox"></div>
    				</div>
    			</div>
    		</div>
    	</div>
    
    <div class="recommend-item-box recommend-ad-box"><script type="text/javascript" src="//rabc1.iteye.com/production/res/rxjg.js?pkcgstj=jm"></script></div>
    
    <div class="recommend-item-box  recommend-download-box clearfix"  data-track-click='{"mod":"popu_387","con":",https://download.csdn.net/download/ruanjian_ershu/10114143,BlogCommendFromBaidu_16"}'>
    	<a href="https://download.csdn.net/download/ruanjian_ershu/10114143" target="_blank">
    		<div class="content clearfix">
    			<div class="">
    				<h4 class="text-truncate oneline clearfix">
    					<em>Java</em>文件<em>导入导出</em>					</h4>
    				<span class="data float-right">11-11</span>
    			</div>
    			<div class="desc oneline">
    					集合了java对excel的操作,批量导入,批量导出等,在本地亲测有效!				</div>
    			<span class="type-show type-show-download">下载</span>
    		</div>
    	</a>
    </div>
    
    <div class="recommend-item-box recommend-ad-box"><div id="kp_box_62" data-pid="62" data-track-view='{"mod":"kp_popu_62-1062","con":",,"}' data-track-click='{"mod":"kp_popu_62-1062","con":",,"}'><iframe  src="https://kunpeng-sc.csdnimg.cn/#/preview/237?positionId=62&queryWord=" frameborder="0" width= "100%"  height= "75px" scrolling="no" ></iframe></div></div>
    

    java中读取txt文档的三种方式

    05-15 阅读数 6万+

    1. package com.readfile; 2. 3. import java.io.BufferedReader; 4. import java.io.File; 5. i... 博文

    <div class="recommend-item-box recommend-ad-box"><div id="kp_box_63" data-pid="63" data-track-view='{"mod":"kp_popu_63-1059","con":",,"}' data-track-click='{"mod":"kp_popu_63-1059","con":",,"}'><iframe  src="https://kunpeng-sc.csdnimg.cn/#/preview/234?positionId=63&queryWord=" frameborder="0" width= "100%"  height= "75px" scrolling="no" ></iframe></div></div>
    

    Java之excel导入数据同时兼容.xls和.xlsx

    07-27 阅读数 3576

    java兼容两种版本的excel导入 博文 来自: fz_tym的博客

    <div class="recommend-item-box recommend-ad-box"><div id="kp_box_64" data-pid="64" data-track-view='{"mod":"kp_popu_64-626","con":",,"}' data-track-click='{"mod":"kp_popu_64-626","con":",,"}'><script type="text/javascript">
    (function() {
        var s = "_" + Math.random().toString(36).slice(2);
        document.write('<div style="" id="' + s + '"></div>');
        (window.slotbydup = window.slotbydup || []).push({
            id: "u3600856",
            container:  s
        });
    })();
    
    <div class="recommend-item-box recommend-ad-box"><div id="kp_box_65" data-pid="65" data-track-view='{"mod":"kp_popu_65-1061","con":",,"}' data-track-click='{"mod":"kp_popu_65-1061","con":",,"}'><iframe  src="https://kunpeng-sc.csdnimg.cn/#/preview/236?positionId=65&queryWord=" frameborder="0" width= "100%"  height= "75px" scrolling="no" ></iframe></div></div>
    

    关于java的excel导入,为何有的实现先将文件先上传到工程的根目录下

    02-03

    最近在做一个批量导入excel数据的需求,在查资料时,发现有的实现需要将导入文件先上传到服务器上工程所在的根目录 如: 1. String ctxPath = this.getSession().ge 论坛

    <div class="recommend-item-box recommend-ad-box"><div id="kp_box_66" data-pid="66" data-track-view='{"mod":"kp_popu_66-881","con":",,"}' data-track-click='{"mod":"kp_popu_66-881","con":",,"}'><script src="https://nbrecsys.4paradigm.com/resource/cus/csdn/sdk-csdn-render.js"></script>
    
    <div class="recommend-item-box recommend-ad-box"><div id="kp_box_67" data-pid="67" data-track-view='{"mod":"kp_popu_67-882","con":",,"}' data-track-click='{"mod":"kp_popu_67-882","con":",,"}'><script src="https://nbrecsys.4paradigm.com/resource/cus/csdn/sdk-csdn-render.js"></script>
    
    <div class="recommend-item-box  recommend-download-box clearfix"  data-track-click='{"mod":"popu_387","con":",https://download.csdn.net/download/u014046199/7538835,BlogCommendFromBaidu_44"}'>
    	<a href="https://download.csdn.net/download/u014046199/7538835" target="_blank">
    		<div class="content clearfix">
    			<div class="">
    				<h4 class="text-truncate oneline clearfix">
    					<em>java</em><em>实现</em>导入文件					</h4>
    				<span class="data float-right">06-23</span>
    			</div>
    			<div class="desc oneline">
    					java实现导入文 件				</div>
    			<span class="type-show type-show-download">下载</span>
    		</div>
    	</a>
    </div>
    
    <div class="recommend-item-box recommend-ad-box"><div id="kp_box_68" data-pid="68" data-track-view='{"mod":"kp_popu_68-883","con":",,"}' data-track-click='{"mod":"kp_popu_68-883","con":",,"}'><!-- T48 位置 -->
    
                <div class="recommend-item-box type_hot_word">
                                <div class="content clearfix">
                    <div class="word float-left">
                                                            <span>
                        <a href="https://edu.csdn.net/courses/o5329_s5330_k " target="_blank">
                        机器学习教程                    </a></span>
                                                                                <span>
                        <a href="https://edu.csdn.net/courses/o280_s351_k " target="_blank">
                        Objective-C培训                    </a></span>
                                                                                <span>
                        <a href="https://edu.csdn.net/combos/o7115_s388_l0_t " target="_blank">
                        交互设计视频教程                    </a></span>
                                                                                <span>
                        <a href="https://edu.csdn.net/course/play/5599/104252 " target="_blank">
                        颜色模型                    </a></span>
                                                                                <span>
                        <a href="https://edu.csdn.net/combos/o363_l0_t " target="_blank">
                        设计制作学习                    </a></span>
                                                            </div>
                </div>
                                                <div class="content clearfix">
                    <div class="float-left">
                                        <span>
                        <a href="https://www.csdn.net/gather_24/MtTaEg3sMDM5MS1ibG9n.html" target="_blank">
                        mysql关联查询两次本表</a>
                    </span>
                                        <span>
                        <a href="https://www.csdn.net/gather_10/MtjaIg3sMTUzMy1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                        native底部 react</a>
                    </span>
                                        <span>
                        <a href="https://www.csdn.net/gather_1b/Ntzagg1sOTU3LWRvd25sb2Fk.html" target="_blank">
                        extjs glyph 图标</a>
                    </span>
                                        <span>
                        <a href="https://www.csdn.net/gather_4a/NtTakg0sMzItZWR1.html" target="_blank">
                        java实例 机器学习</a>
                    </span>
                                        <span>
                        <a href="https://www.csdn.net/gather_4a/NtzaQgysNzktZWR1.html" target="_blank">
                        java 实例 深度学习</a>
                    </span>
                                        </div>
                </div>
                                </div>
                            <div class="recommend-loading-box">
                ![在这里插入图片描述](https://imgconvert.csdnimg.cn/aHR0cHM6Ly9jc2RuaW1nLmNuL3JlbGVhc2UvcGhvZW5peC9pbWFnZXMvZmVlZExvYWRpbmcuZ2lm)
            </div>
            <div class="recommend-end-box">
                <p class="text-center">没有更多推荐了,<a href="https://blog.csdn.net/" class="c-blue c-blue-hover c-blue-focus">返回首页</a></p>
            </div>
        </div>
    </main>
    
    <aside>
    <div id="asideProfile" class="aside-box">
    <!-- <h3 class="aside-title">个人资料</h3> -->
    <div class="profile-intro d-flex">
        <div class="avatar-box d-flex justify-content-center flex-column">
            <a href="https://blog.csdn.net/u013322876">
              ![在这里插入图片描述](https://imgconvert.csdnimg.cn/aHR0cHM6Ly9hdmF0YXIuY3Nkbi5uZXQvNS9DLzEvM191MDEzMzIyODc2LmpwZw)
                              ![在这里插入图片描述](https://imgconvert.csdnimg.cn/aHR0cHM6Ly9nLmNzZG5pbWcuY24vc3RhdGljL3VzZXItcmVnLXllYXIvMXgvNi5wbmc)
                          </a>
            
        </div>
        <div class="user-info d-flex justify-content-center flex-column">
            <p class="name csdn-tracking-statistics tracking-click" data-mod="popu_379">
                <a href="https://blog.csdn.net/u013322876" target="_blank" class="" id="uid">天涯0818</a>
            </p>
                    </div>
                <div class="opt-box d-flex justify-content-center flex-column">
            <span  class="csdn-tracking-statistics tracking-click" data-mod="popu_379">
                                    <a class="btn btn-sm btn-red-hollow attention" id="btnAttent">关注</a>
                            </span>
        </div>
            </div>
    <div class="data-info d-flex item-tiling">
                <dl class="text-center" title="1">
                        <dt><a href="https://blog.csdn.net/u013322876?t=1">原创</a></dt>
            <dd><a href="https://blog.csdn.net/u013322876?t=1"><span class="count">1</span></a></dd>
                    </dl>
        <dl class="text-center" id="fanBox" title="392">
            <dt>粉丝</dt>
            <dd><span class="count" id="fan">392</span></dd>
        </dl>
        <dl class="text-center" title="177">
            <dt>喜欢</dt>
            <dd><span class="count">177</span></dd>
        </dl>
        <dl class="text-center" title="422">
            <dt>评论</dt>
            <dd><span class="count">422</span></dd>
        </dl>
    </div>
    <div class="grade-box clearfix">
        <dl>
            <dt>等级:</dt>
            <dd>
                <a href="https://blog.csdn.net/home/help.html#level" title="6级,点击查看等级说明" target="_blank">
                    <svg class="icon icon-level" aria-hidden="true">
                        <use xlink:href="#csdnc-bloglevel-6"></use>
                    </svg>
                </a>
            </dd>
        </dl>
        <dl>
            <dt>访问:</dt>
            <dd title="578343">
                57万+            </dd>
        </dl>
        <dl>
            <dt>积分:</dt>
            <dd title="7154">
                7154            </dd>
        </dl>
        <dl title="5630">
            <dt>排名:</dt>
            <dd>5630</dd>
        </dl>
    </div>
        <div class="badge-box d-flex">
        <span>勋章:</span>
        <div class="badge d-flex">
                                                        <div class="icon-badge" title="持之以恒">
                       <div class="mouse-box">
                          [外链图片转存失败(img-LRsMB6sO-1562080410861)(https://g.csdnimg.cn/static/user-medal/chizhiyiheng.svg)]
                          <div class="icon-arrow"></div>
                       </div>
                       <div class="grade-detail-box">
                           <div class="pos-box">
                               <div class="left-box d-flex justify-content-center align-items-center flex-column">
                                    [外链图片转存失败(img-Y1fb5NCu-1562080410862)(https://g.csdnimg.cn/static/user-medal/chizhiyiheng.svg)]
                                   <p>持之以恒</p>
                               </div>
                               <div class="right-box">
                                   授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!                               </div>
                           </div>
                       </div>
                   </div>
                                             </div>
        <script>
            (function ($) {
                setTimeout(function(){
                    $('div.icon-badge.show-moment').removeClass('show-moment');
                }, 5000);
            })(window.jQuery)
        </script>
    </div>
    </div>
    

    最新评论

    	<div class="aside-box">
    		<div id="kp_box_57" data-pid="57" data-track-view='{"mod":"kp_popu_57-77","con":",,"}' data-track-click='{"mod":"kp_popu_57-77","con":",,"}'><script type="text/javascript">
    (function() {
        var s = "_" + Math.random().toString(36).slice(2);
        document.write('<div style="" id="' + s + '"></div>');
        (window.slotbydup = window.slotbydup || []).push({
            id: "u3163270",
            container:  s
        });
    })();
    
    • 点赞 取消点赞

      10

    • 评论

      5

    • 目录
    • 收藏
    • 手机看
    • 更多
      		</a>
      		<ul class="widescreen-more-box">
      												<li class="widescreen-more">
      					<a class="btn-comments low-height hover-box" href="https://blog.csdn.net/u013322876/article/details/72851321" title="Centos6.8下搭建SVN服务器">
      						<svg class="icon hover-hide" aria-hidden="true">
      							<use xlink:href="#csdnc-chevronleft"></use>
      						</svg>
      						<span class="hover-show text text3">上一篇</span>
      					</a>
      				</li>
      															<li class="widescreen-more">
      				<a class="btn-comments hover-box low-height" href="https://blog.csdn.net/u013322876/article/details/72898405" title="RESTful API设计技巧经验总结">
      					<svg class="icon hover-hide" aria-hidden="true">
      						<use xlink:href="#csdnc-chevronright"></use>
      					</svg>
      					<span class="hover-show text text3">下一篇</span>
      				</a>
      			</li>
      						</ul>
      	</li>
      </ul>
      
    [外链图片转存失败(img-IxSoMIFB-1562080410863)(https://mp.csdn.net/mdeditor?not_checkout=1)]
    <link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.3.9/ckeditor/plugins/chart/chart.css" />
    <script type="text/javascript" src="https://csdnimg.cn/release/blog_editor_html/release1.3.9/ckeditor/plugins/chart/lib/chart.min.js"></script>
    <script type="text/javascript" src="https://csdnimg.cn/release/blog_editor_html/release1.3.9/ckeditor/plugins/chart/widget2chart.js"></script>
    <link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.3.9/ckeditor/plugins/codesnippet/lib/highlight/styles/atom-one-light.css">
    <script type="text/javascript" src="https://csdnimg.cn/release/phoenix/production/pc_wap_common-45af74a22e.js" /></script>
    
    <script type="text/javascript">
    
    </script>
    
    <script src="https://csdnimg.cn/release/phoenix/themes/skin3-template/skin3-template-fc7383b956.min.js"></script>
    
    <script src="//g.csdnimg.cn/??login-box/1.0.6/login-box.js,login-box/1.0.5/login-auto.js,copyright/1.0.3/copyright.js,baidu-search/1.0.0/baidu-search.js?t=20190307095522"  type="text/javascript"></script>
    
    相关推荐

    “相关推荐”对你有帮助么?

    • 非常没帮助
    • 没帮助
    • 一般
    • 有帮助
    • 非常有帮助
    提交
    ©️2022 CSDN 皮肤主题:大白 设计师:CSDN官方博客 返回首页
    实付
    使用余额支付
    点击重新获取
    扫码支付
    钱包余额 0

    抵扣说明:

    1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
    2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

    余额充值