<ol class="linenums" style="margin:0px; padding:0px 0px 0px 27px; border:0px; vertical-align:baseline; list-style-position:outside; line-height:1.714285714; color:rgb(174,174,174)"><li value="1" class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">1</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">public</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">void</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileUpload</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">HttpServletRequest</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> request</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">HttpServletResponse</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> response</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">throws</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ServletException</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">IOException</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">2</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">    </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">3</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> filePath </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">4</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         request</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">setCharacterEncoding</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"UTF-8"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">5</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         response</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">setContentType</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"text/html; charset=GB2312"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">6</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">try</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">7</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">8</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">DiskFileItemFactory</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> factory </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">DiskFileItemFactory</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">9</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">设置缓存中最大允许缓存为2M</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">10</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             factory</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">setSizeThreshold</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">2</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">*</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">1024</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">*</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">1024</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">11</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ServletFileUpload</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> upload </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ServletFileUpload</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">factory</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">12</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">解决中文文件名为乱码的问题</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">13</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             upload</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">setHeaderEncoding</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"UTF-8"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">14</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">List</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">FileItem</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileList </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> upload</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">parseRequest</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">request</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">15</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">Iterator</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> iter </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileList</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">iterator</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">16</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> newFileName </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">""</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">17</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">while</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">iter</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">hasNext</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">())</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">18</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">            </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">19</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">获取文件</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">20</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">FileItem</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileItem </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">FileItem</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">iter</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">next</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">21</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">获取文件上传的路径</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">22</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> typeName </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileItem</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getFieldName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">23</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">((</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"destPath"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">).</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">equals</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">typeName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">))</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">24</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">25</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     filePath </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileItem</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getString</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"utf-8"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">26</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">27</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">((</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"filename"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">).</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">equals</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">typeName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">))</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">28</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">29</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     newFileName </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileItem</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getString</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"utf-8"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">30</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">31</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileName </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">32</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(!</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">fileItem</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">isFormField</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">())</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">33</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">34</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> name </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileItem</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">35</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">StringUtil</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">isNullOrEmpty</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">name</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">))</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">36</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                    </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">    </span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">37</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                         </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">continue</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">38</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                    </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">39</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     fileName </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> name</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">40</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     fileName </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">substring</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">fileName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">lastIndexOf</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"\\"</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">+</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">1</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">41</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> file </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">filePath</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">42</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(!</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">exists</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">())</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">43</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                    </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">44</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                        file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">mkdirs</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">45</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                    </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">46</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">向指定的路径写文件</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">47</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">newFileName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">length</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">()></span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">48</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                    </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">49</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                         fileName </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> newFileName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">50</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                    </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">51</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     fileItem</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">write</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">filePath</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">));</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">52</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px;


  第二部分是关于文件批量下载的文档。根据客户的观点有上传就要下载的需求,一开始也做了相关的开发,结果发现下载时的文件全部存在服务器端,跟需求不一致。仔细推敲了下代码原来自己写的有问题,在客户端是选择文件的存储路径,然后将文件下载,其实只是实现了本地的迁移,并没有在把文件下载到客户端。后来的想法是把文件打包下载,用FileOutputStream,实现下载的问题,可是如果下载的文件中含有中文字符,就会出现乱码。不得已百度了下,原来是编码的问题,使用java自带的文件输出类不能解决压缩文件中文件名乱码的问题。解决方法:使用ant.jar包,创建压缩文件时,可以设置文件的编码格式,文件名乱码的问题就解决了。由于笔者在开发过程中数据库中有文件的路径,所以下列文件的文件路径的获取是查询得到。

  具体的解决代码如下:

  引用ant.jar包中的FileOutputStream类


<ol class="linenums" style="margin:0px; padding:0px 0px 0px 27px; border:0px; vertical-align:baseline; list-style-position:outside; line-height:1.714285714; color:rgb(174,174,174)"><li value="1" class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">import</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> org</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">apache</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">tools</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">zip</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ZipEntry</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">import</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> org</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">apache</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">tools</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">zip</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ZipOutputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></li></ol>


  打包下载多个文件的思路就是在服务端创建一个新的压缩文件(zip格式),然后将下载的多个文件写入该压缩包中,然后以流的形式输出压缩文件写到客户端,实现下载功能。


<ol class="linenums" style="margin:0px; padding:0px 0px 0px 27px; border:0px; vertical-align:baseline; list-style-position:outside; line-height:1.714285714; color:rgb(174,174,174)"><li value="1" class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">1</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">public</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">void</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> downloadFiles</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">HttpServletRequest</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> request</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">HttpServletResponse</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> response</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">throws</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ServletException</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">IOException</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">2</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">3</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        request</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">setCharacterEncoding</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"UTF-8"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">4</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> docId </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">request</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getParameter</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"docId"</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">).</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getBytes</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"ISO-8859-1"</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">),</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"UTF-8"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">5</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> downloadType </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">request</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getParameter</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"downloadType"</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">).</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getBytes</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"ISO-8859-1"</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">),</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"UTF-8"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">6</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         </span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">7</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">Document</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> doc </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">null</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">8</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">try</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">9</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">10</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">           doc </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> getFilePath</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">docId</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);  </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">此方法获取文件的路径,这个不显示</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">11</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">12</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">catch</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">SQLException</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> ex</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">13</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">14</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         ex</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">printStackTrace</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">15</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">16</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">    </span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">17</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">List</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">Element</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> elements </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> doc</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getRootElement</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">().</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">elements</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">18</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">List</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> files </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ArrayList</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">19</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> index </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">20</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">long</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileLength </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">21</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">for</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">Element</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> ele </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">:</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> elements</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">22</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">23</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> filePath </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">FormatUtil</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">tryGetItemText</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ele</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"FILE_PATH"</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">""</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">+</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">FormatUtil</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">tryGetItemText</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ele</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"FILE_NAME"</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">""</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">24</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> file </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">filePath</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">25</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         files</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">add</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">26</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          fileLength </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">+=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">length</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">27</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          index</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">++</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">28</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">29</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileName </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> UUID</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">randomUUID</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">().</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">toString</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">()</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">+</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">".zip"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">30</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">在服务器端创建打包下载的临时文件</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">31</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> outFilePath </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"C:\\"</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">+</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fileName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">32</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> file </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">outFilePath</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">33</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">文件输出流</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">34</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">FileOutputStream</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> outStream </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">FileOutputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">35</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">压缩流</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">36</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ZipOutputStream</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> toClient </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ZipOutputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">outStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">37</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       toClient</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">setEncoding</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"gbk"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">38</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      zipFile</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">files</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> toClient</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">39</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      toClient</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">close</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">40</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      outStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">close</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">41</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">this</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">downloadZip</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> response</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">42</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">43</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">/**</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 44</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * 压缩文件列表中的文件</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 45</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * </span></span><span style="color:#808080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">@param</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> files</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 46</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * </span></span><span style="color:#808080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">@param</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> outputStream</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 47</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * </span></span><span style="color:#808080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">@throws</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> IOException</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 48</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">    </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">*/</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">49</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">public</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">static</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">void</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> zipFile</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">List</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> files</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ZipOutputStream</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> outputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">throws</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">IOException</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ServletException</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">50</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">51</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">try</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">52</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">53</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> size </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> files</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">size</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">54</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">压缩列表中的文件</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">55</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">for</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> i </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> i </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> size</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> i</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">++</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">56</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">57</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">              </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> file </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> files</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">get</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">i</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">58</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             zipFile</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> outputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">59</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">60</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">61</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">catch</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">IOException</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> e</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">62</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">63</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">throw</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> e</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">64</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">65</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">66</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">/**</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 67</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * 将文件写入到zip文件中</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 68</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * </span></span><span style="color:#808080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">@param</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> inputFile</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 69</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * </span></span><span style="color:#808080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">@param</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> outputstream</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 70</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * </span></span><span style="color:#808080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">@throws</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> Exception</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 71</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">    </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">*/</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">72</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">    </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">public</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">static</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">void</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> zipFile</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> inputFile</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ZipOutputStream</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> outputstream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">throws</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">IOException</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ServletException</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">73</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">74</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">try</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">75</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">            </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">inputFile</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">exists</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">())</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">76</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">           </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">77</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">               </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">inputFile</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">isFile</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">())</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">78</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">              </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">79</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">FileInputStream</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> inStream </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">FileInputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">inputFile</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">80</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">BufferedInputStream</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> bInStream </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">BufferedInputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">inStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">81</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ZipEntry</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> entry </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ZipEntry</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">inputFile</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">());</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">82</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 outputstream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">putNextEntry</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">entry</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">83</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                   </span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">84</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">final</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> MAX_BYTE </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">10</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">*</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">1024</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">*</span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">1024</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">    </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">最大的流为10M</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">85</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">long</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> streamTotal </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                      </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">接受流的容量</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">86</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> streamNum </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                      </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">流需要分开的数量</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">87</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> leaveByte </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                      </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">文件剩下的字符数</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">88</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">byte</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">[]</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> inOutbyte</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                          </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">byte数组接受文件的数据</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">89</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">90</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  streamTotal </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> bInStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">available</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                        </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">通过available方法取得流的最大字符数</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">91</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  streamNum </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">Math</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">floor</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">streamTotal </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">/</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> MAX_BYTE</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">    </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">取得流文件需要分开的数量</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">92</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  leaveByte </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">streamTotal </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">%</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> MAX_BYTE</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">分开文件之后,剩余的数量</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">93</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">94</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">streamNum </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">95</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">96</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                      </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">for</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> j </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> j </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> streamNum</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">++</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">j</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">97</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">98</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                          inOutbyte </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">byte</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">[</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">MAX_BYTE</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">];</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">99</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                          </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">读入流,保存在byte数组</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">100</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                          bInStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">read</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">inOutbyte</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> MAX_BYTE</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">101</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                          outputstream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">write</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">inOutbyte</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> MAX_BYTE</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">  </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">写出流</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">102</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                      </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">103</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">104</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">写出剩下的流数据</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">105</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  inOutbyte </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">byte</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">[</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">leaveByte</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">];</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">106</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  bInStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">read</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">inOutbyte</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> leaveByte</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">107</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 outputstream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">write</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">inOutbyte</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">108</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  outputstream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">closeEntry</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">     </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">Closes the current ZIP entry and positions the stream for writing the next entry</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">109</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                  bInStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">close</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">    </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">关闭</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">110</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 inStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">close</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">111</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">            </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">112</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">113</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">else</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">114</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">115</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">              </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">throw</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">ServletException</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"文件不存在!"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">116</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">117</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">     </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">118</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">catch</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">IOException</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> e</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">119</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">     </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">120</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">throw</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> e</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">121</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">     </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">122</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">123</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">/**</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">124</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * 下载打包的文件</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">125</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * </span></span><span style="color:#808080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">@param</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> file</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">126</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   * </span></span><span style="color:#808080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">@param</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> response</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">127</span></span><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">    </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">*/</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">128</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">public</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">void</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> downloadZip</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">File</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">HttpServletResponse</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> response</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">129</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">try</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">130</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">           </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 以流的形式下载文件。</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">131</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">           </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">BufferedInputStream</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> fis </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">BufferedInputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">FileInputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getPath</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">()));</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">132</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">           </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">byte</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">[]</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> buffer </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">byte</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">[</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">fis</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">available</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">()];</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">133</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          fis</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">read</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">buffer</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">134</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          fis</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">close</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">135</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">           </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> 清空response</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">136</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          response</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">reset</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">137</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   </span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">138</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">           </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">OutputStream</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> toClient </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">BufferedOutputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">response</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getOutputStream</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">());</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">139</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">           response</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">setContentType</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"application/octet-stream"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">140</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">           response</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">setHeader</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"Content-Disposition"</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">,</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"attachment;filename="</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">+</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getName</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">());</span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">141</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          toClient</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">write</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">buffer</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">142</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          toClient</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">flush</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">143</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          toClient</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">close</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">144</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">           file</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">delete</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        </span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">//</span></span><span style="color:#0800;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="com" style="color:#87ceeb;margin:0px; padding:0px; border:0px; vertical-align:baseline;">将生成的服务器端文件删除</span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">145</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">       </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">146</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">catch</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">IOException</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> ex</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">147</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">          ex</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">printStackTrace</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">148</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">      </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">149</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">   </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></li></ol>


  单个文件的下载直接下载文件即可,使用java自带的FileOutputStream就能实现,可以从上面的批量下载中提取单个文件下载的方法。

  涉及到文件名称编码的问题,这里提供一个格式化中文字符串的方法。

  


<ol class="linenums" style="margin:0px; padding:0px 0px 0px 27px; border:0px; vertical-align:baseline; list-style-position:outside; line-height:1.714285714; color:rgb(174,174,174)"><li value="1" class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">1</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">public</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">static</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> toUtf8String</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">String</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> s</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">){</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">2</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">StringBuffer</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> sb </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">StringBuffer</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">3</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">for</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> i </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">i </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> s</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">length</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> i</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">++</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">){</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">4</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">char</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> c </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> s</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">charAt</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">i</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">5</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">c </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">>=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">&&</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> c </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">255</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">6</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">            </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">7</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                sb</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">append</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">c</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">8</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">            </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">9</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">             </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">else</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">10</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">byte</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">[]</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> b</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">11</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">try</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">12</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">13</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     b </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">Character</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">toString</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">c</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">).</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">getBytes</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"utf-8"</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">);</span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">14</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">15</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">catch</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">Exception</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> ex</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">16</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     b </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">new</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">byte</span></span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">[</span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">];</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L6" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">17</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L7" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">18</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                 </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">for</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> j </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> j </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> b</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">length</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> j</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">++</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">{</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L8" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">19</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">int</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> k </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">=</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> b</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">[</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">j</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">];</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L9" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">20</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">if</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">k </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">0</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">)</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> k </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">+=</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">256</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">;</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L0" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">21</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                     sb</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">append</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="str" style="color:#ffa0a0;margin:0px; padding:0px; border:0px; vertical-align:baseline;">"%"</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">+</span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span class="typ" style="color:#98fb98;margin:0px; padding:0px; border:0px; vertical-align:baseline;">Integer</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">toHexString</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">(</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">k</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">).</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">toUpperCase</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">());</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">22</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">                </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L2" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">23</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">            </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L3" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">24</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">        </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L4" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">25</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">         </span><span style="color:#00ff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="kwd" style="color:#f0e68c;margin:0px; padding:0px; border:0px; vertical-align:baseline; font-weight:bold">return</span></span><span style="color:#000000;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> sb</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">.</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">toString</span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">();</span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;"> </span></span></li><li class="L5" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; line-height:16px; list-style:decimal"><span style="color:#08080;margin:0px; padding:0px; border:0px; vertical-align:baseline;"><span class="lit" style="color:#cd5c5c;margin:0px; padding:0px; border:0px; vertical-align:baseline;">26</span></span><span class="pln" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">     </span><span class="pun" style="color:#ffffff;margin:0px; padding:0px; border:0px; vertical-align:baseline;">}</span></li></ol>