锘??xml version="1.0" encoding="utf-8" standalone="yes"?>成人黄色免费在线观看,欧美亚洲色图校园春色,全色精品综合影院http://www.aygfsteel.com/liuyf8688/category/44225.htmlzh-cnFri, 17 Oct 2014 08:13:28 GMTFri, 17 Oct 2014 08:13:28 GMT60鍏徃涓嶈鐢ㄤ笅杞藉伐鍏鳳紝鎵歸噺涓嬭澆鎬庝箞鍔烇紝鑷繁鍔ㄦ墜鍚?/title><link>http://www.aygfsteel.com/liuyf8688/articles/418524.html</link><dc:creator>liuyf8688</dc:creator><author>liuyf8688</author><pubDate>Wed, 08 Oct 2014 11:02:00 GMT</pubDate><guid>http://www.aygfsteel.com/liuyf8688/articles/418524.html</guid><wfw:comment>http://www.aygfsteel.com/liuyf8688/comments/418524.html</wfw:comment><comments>http://www.aygfsteel.com/liuyf8688/articles/418524.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liuyf8688/comments/commentRss/418524.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liuyf8688/services/trackbacks/418524.html</trackback:ping><description><![CDATA[渚濊禆鍖咃細<br /><div style="padding: 4px 5px 4px 4px; font-size: 13px; border: 1px solid #cccccc; width: 1624.828125px; word-break: break-all; background-color: #eeeeee;"><span style="color: #008080;"> 1</span>     <span style="color: #0000ff;"><</span><span style="color: #800000;">dependency</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;"> 2</span>         <span style="color: #0000ff;"><</span><span style="color: #800000;">groupId</span><span style="color: #0000ff;">></span>org.apache.commons<span style="color: #0000ff;"></</span><span style="color: #800000;">groupId</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;"> 3</span>         <span style="color: #0000ff;"><</span><span style="color: #800000;">artifactId</span><span style="color: #0000ff;">></span>commons-lang3<span style="color: #0000ff;"></</span><span style="color: #800000;">artifactId</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;"> 4</span>         <span style="color: #0000ff;"><</span><span style="color: #800000;">version</span><span style="color: #0000ff;">></span>3.3.2<span style="color: #0000ff;"></</span><span style="color: #800000;">version</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;"> 5</span>     <span style="color: #0000ff;"></</span><span style="color: #800000;">dependency</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;"> 6</span>     <span style="color: #0000ff;"><</span><span style="color: #800000;">dependency</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;"> 7</span>         <span style="color: #0000ff;"><</span><span style="color: #800000;">groupId</span><span style="color: #0000ff;">></span>org.apache.httpcomponents<span style="color: #0000ff;"></</span><span style="color: #800000;">groupId</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;"> 8</span>         <span style="color: #0000ff;"><</span><span style="color: #800000;">artifactId</span><span style="color: #0000ff;">></span>httpcore<span style="color: #0000ff;"></</span><span style="color: #800000;">artifactId</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;"> 9</span>         <span style="color: #0000ff;"><</span><span style="color: #800000;">version</span><span style="color: #0000ff;">></span>4.3.2<span style="color: #0000ff;"></</span><span style="color: #800000;">version</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;">10</span>     <span style="color: #0000ff;"></</span><span style="color: #800000;">dependency</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;">11</span>     <span style="color: #0000ff;"><</span><span style="color: #800000;">dependency</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;">12</span>         <span style="color: #0000ff;"><</span><span style="color: #800000;">groupId</span><span style="color: #0000ff;">></span>org.apache.httpcomponents<span style="color: #0000ff;"></</span><span style="color: #800000;">groupId</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;">13</span>         <span style="color: #0000ff;"><</span><span style="color: #800000;">artifactId</span><span style="color: #0000ff;">></span>httpclient<span style="color: #0000ff;"></</span><span style="color: #800000;">artifactId</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;">14</span>         <span style="color: #0000ff;"><</span><span style="color: #800000;">version</span><span style="color: #0000ff;">></span>4.3.5<span style="color: #0000ff;"></</span><span style="color: #800000;">version</span><span style="color: #0000ff;">></span><br /><span style="color: #008080;">15</span>     <span style="color: #0000ff;"></</span><span style="color: #800000;">dependency</span><span style="color: #0000ff;">></span></div><br /><br />婧愪唬鐮侊細<br /><br /><div style="padding: 4px 5px 4px 4px; font-size: 13px; border: 1px solid #cccccc; width: 1624.828125px; word-break: break-all; background-color: #eeeeee;"><span style="color: #008080;">  1</span> <span style="color: #0000ff;">package</span> demo.httpclient.test;<br /><span style="color: #008080;">  2</span> <br /><span style="color: #008080;">  3</span> <span style="color: #0000ff;">import</span> java.io.FileOutputStream;<br /><span style="color: #008080;">  4</span> <span style="color: #0000ff;">import</span> java.io.IOException;<br /><span style="color: #008080;">  5</span> <span style="color: #0000ff;">import</span> java.io.InputStream;<br /><span style="color: #008080;">  6</span> <span style="color: #0000ff;">import</span> java.io.OutputStream;<br /><span style="color: #008080;">  7</span> <span style="color: #0000ff;">import</span> java.net.MalformedURLException;<br /><span style="color: #008080;">  8</span> <br /><span style="color: #008080;">  9</span> <span style="color: #0000ff;">import</span> org.apache.commons.lang3.StringUtils;<br /><span style="color: #008080;"> 10</span> <span style="color: #0000ff;">import</span> org.apache.http.client.methods.CloseableHttpResponse;<br /><span style="color: #008080;"> 11</span> <span style="color: #0000ff;">import</span> org.apache.http.client.methods.HttpGet;<br /><span style="color: #008080;"> 12</span> <span style="color: #0000ff;">import</span> org.apache.http.impl.client.CloseableHttpClient;<br /><span style="color: #008080;"> 13</span> <span style="color: #0000ff;">import</span> org.apache.http.impl.client.HttpClients;<br /><span style="color: #008080;"> 14</span> <br /><span style="color: #008080;"> 15</span> <span style="color: #0000ff;">public</span> <span style="color: #0000ff;">class</span> Download {<br /><span style="color: #008080;"> 16</span> <br /><span style="color: #008080;"> 17</span>     <span style="color: #0000ff;">public</span> <span style="color: #0000ff;">static</span> <span style="color: #0000ff;">void</span> main(String[] args) <span style="color: #0000ff;">throws</span> MalformedURLException {<br /><span style="color: #008080;"> 18</span>         <br /><span style="color: #008080;"> 19</span>         <span style="color: #008000;">//</span><span style="color: #008000;"> 鍚緙栧彿</span><span style="color: #008000;"><br /></span><span style="color: #008080;"> 20</span>         <span style="color: #0000ff;">int</span> start = 96;<br /><span style="color: #008080;"> 21</span>         <span style="color: #008000;">//</span><span style="color: #008000;"> 緇撴潫緙栧彿</span><span style="color: #008000;"><br /></span><span style="color: #008080;"> 22</span>         <span style="color: #0000ff;">int</span> end = 97;<br /><span style="color: #008080;"> 23</span>         <span style="color: #008000;">//</span><span style="color: #008000;"> url涓幓闄ゆ渶鍚庣殑鏂囦歡鍚嶇殑閮ㄥ垎</span><span style="color: #008000;"><br /></span><span style="color: #008080;"> 24</span>         String prefix = "http://s5.hxen.com/m2/tingli/nce/";<br /><span style="color: #008080;"> 25</span>         <span style="color: #008000;">//</span><span style="color: #008000;"> 鏈夎鍒欑殑鏂囦歡鍚嶇О</span><span style="color: #008000;"><br /></span><span style="color: #008080;"> 26</span>         String pattern = "2-{x}.mp3";<br /><span style="color: #008080;"> 27</span>         <span style="color: #008000;">//</span><span style="color: #008000;"> pattern涓紝x鐨勪綅緗傛槸鍚﹂渶瑕佽ˉ鍏呯┖鏍?/span><span style="color: #008000;"><br /></span><span style="color: #008080;"> 28</span>         <span style="color: #0000ff;">int</span> bitNum = 2;<br /><span style="color: #008080;"> 29</span>         <br /><span style="color: #008080;"> 30</span>         String fileName = "";<br /><span style="color: #008080;"> 31</span>         String urlStr = "";<br /><span style="color: #008080;"> 32</span>         <br /><span style="color: #008080;"> 33</span>         String dest = "C:\\蹇洏\\English\\NewConcept_2_UK";<br /><span style="color: #008080;"> 34</span>         String destFile = "";<br /><span style="color: #008080;"> 35</span>         InputStream inputStream = <span style="color: #0000ff;">null</span>;<br /><span style="color: #008080;"> 36</span>         OutputStream outputStream = <span style="color: #0000ff;">null</span>;<br /><span style="color: #008080;"> 37</span>         CloseableHttpClient httpClient = <span style="color: #0000ff;">null</span>;<br /><span style="color: #008080;"> 38</span>         CloseableHttpResponse response = <span style="color: #0000ff;">null</span>;<br /><span style="color: #008080;"> 39</span>         <br /><span style="color: #008080;"> 40</span>         <span style="color: #0000ff;">byte</span>[] buffer = <span style="color: #0000ff;">new</span> <span style="color: #0000ff;">byte</span>[4096];<br /><span style="color: #008080;"> 41</span>         <br /><span style="color: #008080;"> 42</span>         <span style="color: #0000ff;">for</span> (<span style="color: #0000ff;">int</span> i = start; i < end; i ++) {<br /><span style="color: #008080;"> 43</span>             <br /><span style="color: #008080;"> 44</span>             <span style="color: #008000;">//<br /></span><span style="color: #008080;"> 45</span>             fileName = pattern.replaceAll("\\{x\\}", StringUtils.leftPad(i + "", bitNum, "0"));<br /><span style="color: #008080;"> 46</span>             urlStr = prefix + fileName;<br /><span style="color: #008080;"> 47</span>             HttpGet get = <span style="color: #0000ff;">new</span> HttpGet(urlStr);<br /><span style="color: #008080;"> 48</span>             <br /><span style="color: #008080;"> 49</span>             destFile = dest + "\\" + fileName;<br /><span style="color: #008080;"> 50</span>             <span style="color: #0000ff;">try</span> {<br /><span style="color: #008080;"> 51</span>                 <br /><span style="color: #008080;"> 52</span>                 System.out.println(urlStr);<br /><span style="color: #008080;"> 53</span>                 httpClient = HttpClients.createDefault();<br /><span style="color: #008080;"> 54</span>                 response = httpClient.execute(get);<br /><span style="color: #008080;"> 55</span>                 inputStream = response.getEntity().getContent();<br /><span style="color: #008080;"> 56</span>                 outputStream = <span style="color: #0000ff;">new</span> FileOutputStream(destFile);<br /><span style="color: #008080;"> 57</span>                 <br /><span style="color: #008080;"> 58</span>                 <span style="color: #0000ff;">int</span> bytesRead = -1;<br /><span style="color: #008080;"> 59</span>                 <span style="color: #0000ff;">while</span> ((bytesRead = inputStream.read(buffer)) != -1) {<br /><span style="color: #008080;"> 60</span>                     outputStream.write(buffer, 0, bytesRead);<br /><span style="color: #008080;"> 61</span>                 }<br /><span style="color: #008080;"> 62</span>                 <br /><span style="color: #008080;"> 63</span>                 System.out.println("downloaded!" + destFile);<br /><span style="color: #008080;"> 64</span>                 System.out.println();<br /><span style="color: #008080;"> 65</span>                 System.out.println(" --- ");<br /><span style="color: #008080;"> 66</span>                 System.out.println();<br /><span style="color: #008080;"> 67</span>             } <span style="color: #0000ff;">catch</span> (IOException e) {<br /><span style="color: #008080;"> 68</span>                 e.printStackTrace();<br /><span style="color: #008080;"> 69</span>             } <span style="color: #0000ff;">finally</span> {<br /><span style="color: #008080;"> 70</span>                 <br /><span style="color: #008080;"> 71</span>                 <span style="color: #0000ff;">if</span> (inputStream != <span style="color: #0000ff;">null</span>) {<br /><span style="color: #008080;"> 72</span>                     <span style="color: #0000ff;">try</span> {<br /><span style="color: #008080;"> 73</span>                         inputStream.close();<br /><span style="color: #008080;"> 74</span>                     } <span style="color: #0000ff;">catch</span> (IOException e) {<br /><span style="color: #008080;"> 75</span>                         e.printStackTrace();<br /><span style="color: #008080;"> 76</span>                     }<br /><span style="color: #008080;"> 77</span>                 }<br /><span style="color: #008080;"> 78</span>                 <br /><span style="color: #008080;"> 79</span>                 <span style="color: #0000ff;">if</span> (outputStream != <span style="color: #0000ff;">null</span>) {<br /><span style="color: #008080;"> 80</span>                     <span style="color: #0000ff;">try</span> {<br /><span style="color: #008080;"> 81</span>                         outputStream.close();<br /><span style="color: #008080;"> 82</span>                     } <span style="color: #0000ff;">catch</span> (IOException e) {<br /><span style="color: #008080;"> 83</span>                         e.printStackTrace();<br /><span style="color: #008080;"> 84</span>                     }<br /><span style="color: #008080;"> 85</span>                 }<br /><span style="color: #008080;"> 86</span>                 <br /><span style="color: #008080;"> 87</span>                 <span style="color: #0000ff;">if</span> (response != <span style="color: #0000ff;">null</span>) {<br /><span style="color: #008080;"> 88</span>                     <span style="color: #0000ff;">try</span> {<br /><span style="color: #008080;"> 89</span>                         response.close();<br /><span style="color: #008080;"> 90</span>                     } <span style="color: #0000ff;">catch</span> (IOException e) {<br /><span style="color: #008080;"> 91</span>                         e.printStackTrace();<br /><span style="color: #008080;"> 92</span>                     }<br /><span style="color: #008080;"> 93</span>                 }<br /><span style="color: #008080;"> 94</span>                 <br /><span style="color: #008080;"> 95</span>                 <span style="color: #0000ff;">if</span> (httpClient != <span style="color: #0000ff;">null</span>) {<br /><span style="color: #008080;"> 96</span>                     <span style="color: #0000ff;">try</span> {<br /><span style="color: #008080;"> 97</span>                         httpClient.close();<br /><span style="color: #008080;"> 98</span>                     } <span style="color: #0000ff;">catch</span> (IOException e) {<br /><span style="color: #008080;"> 99</span>                         e.printStackTrace();<br /><span style="color: #008080;">100</span>                     }<br /><span style="color: #008080;">101</span>                 }<br /><span style="color: #008080;">102</span>             }<br /><span style="color: #008080;">103</span>             <br /><span style="color: #008080;">104</span>         }<br /><span style="color: #008080;">105</span>     }<br /><span style="color: #008080;">106</span> }<br /><span style="color: #008080;">107</span> </div><img src ="http://www.aygfsteel.com/liuyf8688/aggbug/418524.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liuyf8688/" target="_blank">liuyf8688</a> 2014-10-08 19:02 <a href="http://www.aygfsteel.com/liuyf8688/articles/418524.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>JAVA瀵煎叆ssl璇佷功http://www.aygfsteel.com/liuyf8688/articles/415056.htmlliuyf8688liuyf8688Tue, 24 Jun 2014 02:19:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/415056.htmlhttp://www.aygfsteel.com/liuyf8688/comments/415056.htmlhttp://www.aygfsteel.com/liuyf8688/articles/415056.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/415056.htmlhttp://www.aygfsteel.com/liuyf8688/services/trackbacks/415056.html
keytool -import -alias 璇佷功鍒悕錛堥氬父鏄煙鍚嶏級 -keystore "%JRE_HOME%\lib\security\cacerts" -file "CER鏂囦歡浣嶇疆"


liuyf8688 2014-06-24 10:19 鍙戣〃璇勮
]]>
Java SE 5.0 鏂扮壒鎬?/title><link>http://www.aygfsteel.com/liuyf8688/articles/408507.html</link><dc:creator>liuyf8688</dc:creator><author>liuyf8688</author><pubDate>Sat, 04 Jan 2014 14:24:00 GMT</pubDate><guid>http://www.aygfsteel.com/liuyf8688/articles/408507.html</guid><wfw:comment>http://www.aygfsteel.com/liuyf8688/comments/408507.html</wfw:comment><comments>http://www.aygfsteel.com/liuyf8688/articles/408507.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liuyf8688/comments/commentRss/408507.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liuyf8688/services/trackbacks/408507.html</trackback:ping><description><![CDATA[<div><strong style="font-size: 10pt;">1.鑼冨瀷錛圙enerics錛?/strong><div style="font-size: 10pt;"><span style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: 10pt;">榪欎釜緇忚繃婕暱絳夊緟鍚庤鍔犲叆鍒扮被鍨嬬郴緇熶腑鐨勭壒鎬э紝鍏佽涓涓被鍨嬫垨鏂規硶鎿嶄綔涓嶅悓綾誨瀷鐨勫璞★紝騫舵彁渚涚紪璇戞湡鐨勭被鍨嬪畨鍏ㄣ備粬鍔犵紪璇戞湡綾誨瀷瀹夊叏鍒伴泦鍚堟瀯鏋朵腑錛屽茍涓旂渷鍘昏漿鎹㈢殑宸ヤ綔銆傜湅Java瀛︿範鎸囧崡涓殑Generics璇劇▼銆傦紙JSR 14錛?/span><br style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;" /><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><strong style="font-size: 10pt;">2.澧炲己鐨刦or寰幆錛圗nhanced for Loop錛?/strong></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><span style="font-size: 10pt;">榪欎釜鏂拌璦緇撴瀯娑堥櫎浜嗗湪榪唬闆嗗悎鍜屾暟緇勬椂錛屼嬌鐢╥terators鍜岀儲寮曞彉閲忕殑娼滃湪閿欒鍜岃漿鎹㈠伐浣溿傦紙JSR 201錛?/span></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><strong style="font-size: 10pt;">3.鑷姩瑁呯鍜屾媶綆憋紙Autoboxing/Unboxing錛?/strong></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><span style="font-size: 10pt;">榪欎釜渚垮埄宸ュ叿娑堥櫎浜嗗湪綆鍗曠被鍨嬶紙濡傦紝int錛夊拰鍖呰綾誨瀷錛堝錛孖nteger錛夐棿鎵嬪姩杞崲鐨勫伐浣溿傦紙JSR 201錛?/span></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><strong style="font-size: 10pt;">4.綾誨瀷瀹夊叏鐨勬灇涓撅紙Typesafe Enums錛?/strong></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><span style="font-size: 10pt;">榪欎釜鐏墊椿鐨勯潰鍚戝璞$殑鏋氫婦綾誨瀷宸ュ叿鍏佽浣犲垱寤哄寘鍚換鎰忔柟娉曞拰灞炴х殑鏋氫婦綾誨瀷銆備粬鎻愪緵浜嗙被鍨嬪畨鍏ㄦ灇涓炬ā寮忥紙Effective Java, Item 21錛夋墍鏈夊ソ澶勶紝騫跺幓闄や簡鍐楅暱鍙婂彲鑳芥綔鍦ㄧ殑閿欒銆傦紙JSR 201錛?/span></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><strong style="font-size: 10pt;">5.鍙彉鍙傛暟錛圴arargs錛?/strong></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><span style="font-size: 10pt;">褰撹皟鐢ㄦ帴鏀跺彲鍙橀暱鍙橀噺鐨勫弬鏁板垪琛ㄦ椂錛岄渶瑕佸皢鍙傛暟鍒楄〃緇勮鎴愭暟緇勩傝繖涓究鍒╁伐鍏鋒秷闄や簡榪欎簺宸ヤ綔銆?/span></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><strong style="font-size: 10pt;">6.闈欐佸鍏ワ紙Static Import錛?/strong></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><span style="font-size: 10pt;">榪欎釜渚垮埄宸ュ叿浣夸綘閬垮厤鐢ㄧ被鍚嶆潵闄愬畾闈欐佸厓绱狅紝浠庤岃閬夸簡"甯擱噺鎺ュ彛鍙嶆ā寮?鐨勭己鐐廣傦紙JSR 201錛?/span></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><strong style="font-size: 10pt;">7.娉ㄨВ錛圓nnotations [Metadata]錛?/strong></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><span style="font-size: 10pt;">榪欎釜璇█鐗規э紝鎺堟潈宸ュ叿浠庢簮浠g爜涓殑娉ㄨВ浜х敓鏍鋒澘浠g爜錛岃浣犲湪璁稿鎯呭喌涓嬮伩鍏嶅啓鏍鋒澘浠g爜銆傝繖寮曞浜嗗嚭涓縐?澹版槑寮?緙栫▼鏂瑰紡錛屽湪榪欑鏂瑰紡涓▼搴忓憳鍛婅瘔浠栧簲璇ュ浣曡瀹屾垚錛岀敱宸ュ叿鏉ョ敓鎴愪唬鐮佸茍瀹屾垚浠栥備粬鍚屾椂涔熸秷闄や簡灝嗚緟鍔╂枃浠朵笌婧愪唬鐮佹枃浠朵繚鎸佸悓姝ユ洿鏂扮殑涓浜涘伐浣溿傛浛浠g殑宸ヤ綔鏄繖浜涗俊鎭彲浠ヨ緇存姢鍦ㄦ簮浠g爜鏂囦歡涓傦紙JSR 175錛?/span></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><span style="font-size: 10pt;">NOTE錛欯Deprecated娉ㄨВ鎻愪緵浜嗕竴縐嶆柟寮忔潵鏍囪瘑涓嶅緩璁嬌鐢ㄧ殑紼嬪簭鍏冪礌銆傚弬瑙侊細浠涔堟儏鍐典笅錛屾庝箞鏍鋒潵搴熷純APIs錛圚ow and When To Deprecate APIs錛夈?/span></div><div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: medium;"><strong><br /></strong></div></div></div><img src ="http://www.aygfsteel.com/liuyf8688/aggbug/408507.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liuyf8688/" target="_blank">liuyf8688</a> 2014-01-04 22:24 <a href="http://www.aygfsteel.com/liuyf8688/articles/408507.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Java SE 7 鏂扮壒鎬?/title><link>http://www.aygfsteel.com/liuyf8688/articles/408486.html</link><dc:creator>liuyf8688</dc:creator><author>liuyf8688</author><pubDate>Sat, 04 Jan 2014 06:14:00 GMT</pubDate><guid>http://www.aygfsteel.com/liuyf8688/articles/408486.html</guid><wfw:comment>http://www.aygfsteel.com/liuyf8688/comments/408486.html</wfw:comment><comments>http://www.aygfsteel.com/liuyf8688/articles/408486.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liuyf8688/comments/commentRss/408486.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liuyf8688/services/trackbacks/408486.html</trackback:ping><description><![CDATA[<div><strong style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: 10pt;">1.浜岃繘鍒跺父閲忥紙Binary Literals錛?/strong> <div style="font-family: Tahoma; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; font-size: 10pt;">鍦↗ava SE 7涓紝鏁村瀷錛坆yte, short, int鍜宭ong錛変篃鍙互浣跨敤浜岃繘鍒惰鏁版柟寮忔潵琛ㄧず銆備負浜嗘寚瀹氫簩榪涘埗甯擱噺錛岄渶瑕佷負鏁板瓧澧炲姞涓涓?b鎴?B鐨勫墠緙銆?br /> <div><strong>2.搴旂敤浜庢暟鍊煎父閲忕殑涓嬪垝綰匡紙Underscores in Numeric Literals錛?/strong></div> <div>甯︿笅鍒掔嚎鐨勪換鎰忔暟瀛楋紝鍙互鍑虹幇鍦ㄦ暟鍊煎父閲忕殑浠繪剰鏁板瓧涔嬮棿銆傚埄鐢ㄨ繖涓壒鎬э紝浣犲彲浠ュ皢鏁板煎垝鍒嗘垚涓嶅悓鐨勬暟瀛楃粍錛岃繖鏍峰彲浠ュ鍔犱唬鐮佺殑鍙鎬с?br /> </div> <div></div> <div><strong>3.switch璇彞涓敮鎸丼tring鍊?錛圫trings in Switch Statements錛?/strong></div> <div>鍦╯witch璇彞鐨勮〃杈懼紡涓彲浠ヤ嬌鐢⊿tring綾誨瀷銆?/div> <div></div> <div><strong>4.鑼冨瀷瀵硅薄鍒涘緩鏃舵敮鎸佺被鍨嬫帹瀵鹼紙Type Inference for Generic Instance Creation錛?/strong></div> <div>鐢變簬緙栬瘧鍣ㄥ彲浠ユ牴鎹笂涓嬫枃鎺ㄥ鍑虹被鍨嬪弬鏁幫紝鎵浠ュ彲浠ヤ嬌鐢ㄧ┖綾誨瀷鍙傛暟錛?lt;>錛夋浛鎹㈠湪璋冪敤鑼冨瀷綾誨瀷鏋勯犲嚱鏁版椂鎵瑕佹眰鐨勭被鍨嬪弬鏁般?/div> <div></div> <div><strong>5.鏀硅繘浜嗗湪鏀寔鍙彉鍙傛暟鐨勬柟娉曚腑浣跨敤闈炲叿浣擄紙Non-Refiable錛屽閫氳繃綾誨瀷鍙傛暟鎸囧畾錛夌殑褰㈠弬鏃訛紝鍑虹幇鐨勭紪璇戝櫒璀﹀憡鍜岄敊璇紙Improved Compiler Warnings and Errors When Using Non-Reifiable Formal Parameters with Varargs Methods錛?/strong></div> <div>浣跨敤闈炲叿浣撶殑褰㈠紡鍙傛暟澹版槑鍙彉鍙傛暟鐨勬柟娉曟垨鏋勯犲嚱鏁版椂錛孞ava SE 7緙栬瘧鍣ㄤ細鍦ㄥ0鏄庣殑鍦頒笂緇欏嚭涓涓鍛婁俊鎭侸ava SE 7寮曞叆浜嗙紪璇戝櫒閫夐」-Xlint:varargs鍜屾敞瑙SafeVarargs鍜孈SuppressWarnings({"unchecked", "varargs"})鏉ョ姝㈣鍛娿?/div> <div></div> <div><strong>6.澧炲姞try-with-resources璇彞錛圱he try-with-resources Statement錛?/strong></div> <div>try-with-resources璇彞鏄竴涓0鏄庝簡涓涓垨澶氫釜璧勬簮鐨則ry璇彞銆傝祫婧愭槸鎸囧湪紼嬪簭浣跨敤瀹屾垚鍚庡繀欏誨叧闂殑涓涓璞°倀ry-with-resources璇彞紜繚姣忎釜璧勬簮鍦ㄨ璇彞緇撴潫鍚庤鍏抽棴銆備換浣曞疄鐜癹ava.io.Closeable鎺ュ彛鍜屾柊java.lang.AutoCloseable鎺ュ彛鐨勫璞★紝鍙互琚湅浣滀竴縐嶈祫婧愩俲ava.io.Inputstream錛孫utputStream錛孯eader錛學riter錛宩ava.sql.Connection錛孲tatement錛孯esultSet綾昏閲嶆柊瀹炵幇錛屽茍瀹炵幇浜咥utoCloseable鎺ュ彛銆備互涓婃彁鍒拌繖浜涚被錛屼篃鍙互琚敤浣滄槸try-with-resources璇彞涓殑涓縐嶈祫婧愩?br /> </div> <div></div> <div><strong>7.鏀寔鎹曡幏澶氫釜寮傚父錛屼嬌鐢ㄦ敼榪涚殑綾誨瀷媯嫻嬮噸鏂版姏鍑哄紓甯革紙Catching Multiple Exception Types and Rethrowing Exceptions with Improved Type Checking錛?/strong></div> <div>涓涓崟catch鍧楀彲浠ュ鐞嗗縐嶇被鍨嬬殑寮傚父銆傛澶栵紝緙栬瘧鍣ㄧ浉姣斾箣鍓嶇殑瀹炵幇鐗堟湰錛屽閲嶆柊鎶涘嚭鐨勫紓甯稿垎鏋愮殑鏇村噯紜備綘浣夸綘鍙互鍦ㄤ竴涓柟娉曞0鏄庣殑throws璇彞涓寚瀹氬涓壒瀹氬紓甯哥被鍨嬨?/div> </div> </div><img src ="http://www.aygfsteel.com/liuyf8688/aggbug/408486.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liuyf8688/" target="_blank">liuyf8688</a> 2014-01-04 14:14 <a href="http://www.aygfsteel.com/liuyf8688/articles/408486.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>韜喚璇佹楠屽伐鍏風被http://www.aygfsteel.com/liuyf8688/articles/357662.htmlliuyf8688liuyf8688Wed, 31 Aug 2011 10:12:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/357662.htmlhttp://www.aygfsteel.com/liuyf8688/comments/357662.htmlhttp://www.aygfsteel.com/liuyf8688/articles/357662.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/357662.htmlhttp://www.aygfsteel.com/liuyf8688/services/trackbacks/357662.html闃呰鍏ㄦ枃

liuyf8688 2011-08-31 18:12 鍙戣〃璇勮
]]>
What's the difference between the -client and -server systems?http://www.aygfsteel.com/liuyf8688/articles/296829.htmlliuyf8688liuyf8688Mon, 28 Sep 2009 11:37:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/296829.htmlhttp://www.aygfsteel.com/liuyf8688/comments/296829.htmlhttp://www.aygfsteel.com/liuyf8688/articles/296829.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/296829.htmlhttp://www.aygfsteel.com/liuyf8688/services/trackbacks/296829.html

liuyf8688 2009-09-28 19:37 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 莱西市| 荆州市| 巫山县| 营口市| 德钦县| 溆浦县| 蓬溪县| 丰台区| 三明市| 瓮安县| 宣汉县| 宣威市| 宁南县| 龙州县| 淮滨县| 兴国县| 乌兰浩特市| 宜兰市| 德江县| 新兴县| 沂源县| 澎湖县| 蒙阴县| 柳林县| 荥经县| 颍上县| 福海县| 婺源县| 贵德县| 庆元县| 三台县| 突泉县| 九龙坡区| 巴林右旗| 九江市| 漳州市| 西平县| 安福县| 峡江县| 额尔古纳市| 迭部县|