锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产亚洲综合久久系列,AV激情亚洲男人的天堂国语,无码专区一va亚洲v专区在线 http://www.tkk7.com/wenhl5656/category/34913.html鎯寵搗鍜岃佽倴鐮旂┒涓柇鐨勬棩瀛愶紝鍊嶈娓╅Θzh-cnTue, 22 Dec 2009 00:08:04 GMTTue, 22 Dec 2009 00:08:04 GMT60錛堣漿錛塗B綰у埆鐨勭綉欏靛鍣ㄥ疄鐜版柟娉曞弬鑰?/title><link>http://www.tkk7.com/wenhl5656/archive/2009/06/04/280073.html</link><dc:creator>鐖卞悆楸煎ご</dc:creator><author>鐖卞悆楸煎ご</author><pubDate>Thu, 04 Jun 2009 13:04:00 GMT</pubDate><guid>http://www.tkk7.com/wenhl5656/archive/2009/06/04/280073.html</guid><wfw:comment>http://www.tkk7.com/wenhl5656/comments/280073.html</wfw:comment><comments>http://www.tkk7.com/wenhl5656/archive/2009/06/04/280073.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wenhl5656/comments/commentRss/280073.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wenhl5656/services/trackbacks/280073.html</trackback:ping><description><![CDATA[     鎽樿: 杞嚜javaeye銆備竴涓珮鎬ц兘鐨刉eb鐖櫕錛屽繀欏繪湁涓涓悎閫傜殑緗戦〉瀹瑰櫒銆傝瀹歸噺鏈澶х殑鐗圭偣鏄鑳藉閫氳繃URL鐩存帴瀛樺彇緗戦〉鍐呭錛屽茍涓旇姹傛湁寰堥珮鐨勬ц兘錛屽湪涓涓崈涓囩駭鍒殑瀹瑰櫒涓瓨鍙栦竴涓囨鐨勬椂闂村簲鍦?鍒嗛挓宸﹀彸(鏅歅C涓?銆傞噰鐢ㄦ媶琛風殑鍔炴硶錛屽湪鏂囦歡緋葷粺鐨勫熀紜涓婂緩绔嬩竴緇勫ぇ鏂囦歡鍜屼竴緇勮緟鍔╂枃浠訛紝杈呭姪鏂囦歡瀹炵幇閫氳繃URL瀹氫綅璇RL浠h〃鐨勭綉欏靛湪澶ф枃浠朵腑鐨勪綅緗紝浠庨〉瀹炵幇涓嶉殢鏂囦歡鏁伴噺澧為暱鑰屾ц兘鍙樺寲鐨勫揩閫熷瓨鍙栥備互涓嬪皢鎻忚堪涓涓畝媧佺殑瀹炵幇銆?   <a href='http://www.tkk7.com/wenhl5656/archive/2009/06/04/280073.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/wenhl5656/aggbug/280073.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wenhl5656/" target="_blank">鐖卞悆楸煎ご</a> 2009-06-04 21:04 <a href="http://www.tkk7.com/wenhl5656/archive/2009/06/04/280073.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>甯哥敤涓枃鍒嗚瘝- 鏁寸悊鏀墮泦http://www.tkk7.com/wenhl5656/archive/2009/06/04/280071.html鐖卞悆楸煎ご鐖卞悆楸煎ごThu, 04 Jun 2009 13:01:00 GMThttp://www.tkk7.com/wenhl5656/archive/2009/06/04/280071.htmlhttp://www.tkk7.com/wenhl5656/comments/280071.htmlhttp://www.tkk7.com/wenhl5656/archive/2009/06/04/280071.html#Feedback0http://www.tkk7.com/wenhl5656/comments/commentRss/280071.htmlhttp://www.tkk7.com/wenhl5656/services/trackbacks/280071.html闃呰鍏ㄦ枃

鐖卞悆楸煎ご 2009-06-04 21:01 鍙戣〃璇勮
]]>
瀛楃闆嗙紪鐮佸拰緙栫爜瀛楃闆嗭紙杞憳錛?/title><link>http://www.tkk7.com/wenhl5656/archive/2009/02/20/255893.html</link><dc:creator>鐖卞悆楸煎ご</dc:creator><author>鐖卞悆楸煎ご</author><pubDate>Fri, 20 Feb 2009 13:58:00 GMT</pubDate><guid>http://www.tkk7.com/wenhl5656/archive/2009/02/20/255893.html</guid><wfw:comment>http://www.tkk7.com/wenhl5656/comments/255893.html</wfw:comment><comments>http://www.tkk7.com/wenhl5656/archive/2009/02/20/255893.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wenhl5656/comments/commentRss/255893.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wenhl5656/services/trackbacks/255893.html</trackback:ping><description><![CDATA[    瀛楃闆嗭紝鎸囩殑鏄鍒嗛厤浜嗘暣鏁扮紪鍙風殑<span style="color: #0817ff;">瀛楃闆嗗悎</span>錛?br />     浣嗘槸錛岀紪鐮佸瓧絎﹂泦涓瓧絎﹁鍒嗛厤鐨勬暣鏁扮紪鍙鳳紝涓嶄竴瀹氬氨鏄瀛楃鍦ㄨ綆楁満涓瓨鍌ㄦ椂鎵浣跨敤鐨勫鹼紱<br />     璁$畻鏈轟腑瀛樺偍鐨勫瓧絎﹀埌搴曚嬌鐢ㄤ粈涔堜簩榪涘埗鏁存暟鍊兼潵琛ㄧず錛屾槸鐢?span style="color: #388fff;">瀛楃闆嗙紪鐮?/span>鍐沖畾鐨勩?br /> <br />     瀛楃闆嗙紪鐮佸喅瀹氫簡濡備綍灝嗕竴涓瓧絎︾殑鏁存暟緙栧彿瀵瑰簲鍒頒竴涓簩榪涘埗鐨勬暣鏁板箋?br />     鏈夌殑緙栫爜鏂規綆鍗曠殑灝嗚鏁存暟鍊肩洿鎺ヤ綔涓哄叾鍦ㄨ綆楁満涓殑琛ㄧず鑰屽瓨鍌紝渚嬪鑻辨枃瀛楃銆?br />     鍑犱箮鎵鏈夌殑瀛楃闆嗙紪鐮佹柟妗堜腑錛岃嫳鏂囧瓧姣嶇殑鏁存暟緙栧彿涓庡叾鍦ㄨ綆楁満鍐呴儴瀛樺偍鐨勪簩榪涘埗褰㈠紡閮戒竴鑷淬?br />     浣嗘湁鐨勭紪鐮佹柟妗堬紝渚嬪閫傜敤浜嶶nicode瀛楃闆嗙殑UTF-8緙栫爜褰㈠紡錛屽氨灝嗗緢澶т竴閮ㄥ垎瀛楃鐨勬暣鏁扮紪鍙蜂綔浜嗗彉鎹㈠悗瀛樺偍鍦ㄨ綆楁満涓?br />     浠?#8220;姹?#8221;瀛椾負渚嬶紝“姹?#8221;鐨刄nicode鍊間負0x6C49錛屼絾鍏剁紪鐮佷負UTF-8鏍煎紡鍚庣殑鍊間負0xE6B189錛堟敞鎰忓埌鍙樻垚浜嗕笁涓瓧鑺傦級銆?br /> <br />     GB2312鏈鍒濇寚鐨勬槸涓涓紪鐮佸瓧絎﹂泦錛屽叾涓寘鍚簡ASCII鎵鍖呭惈鐨勮嫳鏂囧瓧絎︼紝鍚屾椂鍔犲叆浜?763涓畝浣撴眽瀛椾互鍙婂叾浠栦竴浜汚SCII涔嬪鐨勭鍙楓侴B2312涔熸湁鑷繁鐨勭紪鐮佹柟妗堬紝浣嗚繖涓柟妗堢洿鎺ヤ嬌鐢ㄤ竴涓瓧絎﹀湪GB2312涓殑緙栧彿浣滀負瀛樺偍鍊鹼紙涓嶶TF-32鐨勫仛娉曠被浼鹼級銆?br />     鎴戜滑鏃ュ父璇磋搗GB2312鐨勬椂鍊欙紝<strong>甯稿父鍗蟲寚榪欎釜瀛楃闆嗭紝涔熸寚榪欑緙栫爜鏂規</strong>銆?br /> <br />     GBK鏄疓B2312鐨勫悗緇爣鍑嗭紝娣誨姞浜嗘洿澶氱殑姹夊瓧鍜岀壒孌婄鍙鳳紝綾諱技鐨勬槸錛孏BK涔熸槸鍚屾椂鎸囦粬鐨勫瓧絎﹂泦鍜屼粬鐨勭紪鐮併?br />     GBK榪樻槸鐜板浠婁腑鏂嘩indows鎿嶄綔緋葷粺鐨勭郴緇熼粯璁ょ紪鐮侊紙榪欐鏄嚑涔庢墍鏈夌綉欏典笂鐨勶紝鏂囦歡閲岀殑涔辯爜闂鐨勬牴婧愶級銆?br /> <br />     鍦↗ava涓紝瀛楃鍙互涓縐嶇紪鐮佸艦寮忓瓨鍦紝閭e氨鏄疷TF-16銆?br />     浣?#8220;鍦↗ava涓?#8221;鍒板簳鏄寚鍦ㄥ摢閲屽憿錛熷氨鏄寚鍦↗VM涓紝鍦ㄥ唴瀛樹腑錛屼唬鐮侀噷澹版槑鐨勬瘡涓涓猚har錛孲tring綾誨瀷鐨勫彉閲忎腑銆?br /> <br />     Python涓棦鍙互鎸堿scii緙栫爜錛屼篃鍙互鎸塽nicode緙栫爜銆?br />   <br /> <img src ="http://www.tkk7.com/wenhl5656/aggbug/255893.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wenhl5656/" target="_blank">鐖卞悆楸煎ご</a> 2009-02-20 21:58 <a href="http://www.tkk7.com/wenhl5656/archive/2009/02/20/255893.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Base64緙栫爜瀛︿範鍜宩ava婧愮▼搴忓疄鐜?/title><link>http://www.tkk7.com/wenhl5656/archive/2008/12/23/247948.html</link><dc:creator>鐖卞悆楸煎ご</dc:creator><author>鐖卞悆楸煎ご</author><pubDate>Tue, 23 Dec 2008 09:36:00 GMT</pubDate><guid>http://www.tkk7.com/wenhl5656/archive/2008/12/23/247948.html</guid><wfw:comment>http://www.tkk7.com/wenhl5656/comments/247948.html</wfw:comment><comments>http://www.tkk7.com/wenhl5656/archive/2008/12/23/247948.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/wenhl5656/comments/commentRss/247948.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wenhl5656/services/trackbacks/247948.html</trackback:ping><description><![CDATA[<a title="Google" >Google </a>Base64鍙互鎼滃埌鐩稿叧鍘熺悊鍜岃澶氬疄鐜般?br /> 涓嬮潰鏄垜鐨勫疄鐜幫紝鍜孲UN鍏徃鎻愪緵鐨勫弬鑰冨疄鐜般?br /> <div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 128, 128);">  1</span> <span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);"> Base64 {<br /> </span><span style="color: rgb(0, 128, 128);">  2</span> <span style="color: rgb(0, 0, 0);">    </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> String base64_alphabet </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);">  3</span> <span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 128, 128);">  4</span> <span style="color: rgb(0, 0, 0);">    </span><span style="color: rgb(0, 128, 0);">/**</span><span style="color: rgb(0, 128, 0);"><br /> </span><span style="color: rgb(0, 128, 128);">  5</span> <span style="color: rgb(0, 128, 0);">     * 緙栫爜鍘熺悊:灝?涓瓧鑺傝漿鎹㈡垚4涓瓧鑺? (3 X 8) = 24 = (4 X 6) )<br /> </span><span style="color: rgb(0, 128, 128);">  6</span> <span style="color: rgb(0, 128, 0);">     * 鍏堣鍏?涓瓧鑺?姣忚涓涓瓧鑺?宸︾Щ8浣?鍐嶅彸縐誨洓嬈?姣忔6浣?榪欐牱灝辨湁4涓瓧鑺備簡<br /> </span><span style="color: rgb(0, 128, 128);">  7</span> <span style="color: rgb(0, 128, 0);">     * <br /> </span><span style="color: rgb(0, 128, 128);">  8</span> <span style="color: rgb(0, 128, 0);">     * </span><span style="color: rgb(128, 128, 128);">@param</span><span style="color: rgb(0, 128, 0);"> data<br /> </span><span style="color: rgb(0, 128, 128);">  9</span> <span style="color: rgb(0, 128, 0);">     * </span><span style="color: rgb(128, 128, 128);">@return</span><span style="color: rgb(0, 128, 0);"> 緙栫爜鍚庣殑Base64瀛楃涓?br /> </span><span style="color: rgb(0, 128, 128);"> 10</span> <span style="color: rgb(0, 128, 0);">     </span><span style="color: rgb(0, 128, 0);">*/</span><span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 11</span> <span style="color: rgb(0, 0, 0);">    </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> String Base64Encode(</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[] data) {<br /> </span><span style="color: rgb(0, 128, 128);"> 12</span> <span style="color: rgb(0, 0, 0);">        StringBuilder builder </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> StringBuilder();<br /> </span><span style="color: rgb(0, 128, 128);"> 13</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);">[] temp </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);">[</span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);">];<br /> </span><span style="color: rgb(0, 128, 128);"> 14</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> len </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> data.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> data.length </span><span style="color: rgb(0, 0, 0);">%</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">3</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 15</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> i </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; i </span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);"> len; i </span><span style="color: rgb(0, 0, 0);">+=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">3</span><span style="color: rgb(0, 0, 0);">) {<br /> </span><span style="color: rgb(0, 128, 128);"> 16</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> goal </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 17</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> j </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; j </span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">3</span><span style="color: rgb(0, 0, 0);">; j</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">) {<br /> </span><span style="color: rgb(0, 128, 128);"> 18</span> <span style="color: rgb(0, 0, 0);">                goal </span><span style="color: rgb(0, 0, 0);"><<=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">8</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 19</span> <span style="color: rgb(0, 0, 0);">                goal </span><span style="color: rgb(0, 0, 0);">|=</span><span style="color: rgb(0, 0, 0);"> (data[i </span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);"> j] </span><span style="color: rgb(0, 0, 0);">&</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0xff</span><span style="color: rgb(0, 0, 0);">);<br /> </span><span style="color: rgb(0, 128, 128);"> 20</span> <span style="color: rgb(0, 0, 0);">            }<br /> </span><span style="color: rgb(0, 128, 128);"> 21</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> k </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; k </span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);">; k</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">) {<br /> </span><span style="color: rgb(0, 128, 128);"> 22</span> <span style="color: rgb(0, 0, 0);">                temp[k] </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> goal </span><span style="color: rgb(0, 0, 0);">&</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0x3f</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 23</span> <span style="color: rgb(0, 0, 0);">                goal </span><span style="color: rgb(0, 0, 0);">>>=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">6</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 24</span> <span style="color: rgb(0, 0, 0);">            }<br /> </span><span style="color: rgb(0, 128, 128);"> 25</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> k </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">3</span><span style="color: rgb(0, 0, 0);">; k </span><span style="color: rgb(0, 0, 0);">>=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; k</span><span style="color: rgb(0, 0, 0);">--</span><span style="color: rgb(0, 0, 0);">) {<br /> </span><span style="color: rgb(0, 128, 128);"> 26</span> <span style="color: rgb(0, 0, 0);">                builder.append(base64_alphabet.charAt(temp[k]));<br /> </span><span style="color: rgb(0, 128, 128);"> 27</span> <span style="color: rgb(0, 0, 0);">            }<br /> </span><span style="color: rgb(0, 128, 128);"> 28</span> <span style="color: rgb(0, 0, 0);">        }<br /> </span><span style="color: rgb(0, 128, 128);"> 29</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> index;<br /> </span><span style="color: rgb(0, 128, 128);"> 30</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">switch</span><span style="color: rgb(0, 0, 0);"> (data.length </span><span style="color: rgb(0, 0, 0);">%</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">3</span><span style="color: rgb(0, 0, 0);">) {<br /> </span><span style="color: rgb(0, 128, 128);"> 31</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">case</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">:<br /> </span><span style="color: rgb(0, 128, 128);"> 32</span> <span style="color: rgb(0, 0, 0);">            index </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> data[data.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">] </span><span style="color: rgb(0, 0, 0);">>></span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 33</span> <span style="color: rgb(0, 0, 0);">            builder.append(base64_alphabet.charAt(index));<br /> </span><span style="color: rgb(0, 128, 128);"> 34</span> <span style="color: rgb(0, 0, 0);">            index </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> (data[data.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">] </span><span style="color: rgb(0, 0, 0);">&</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0x03</span><span style="color: rgb(0, 0, 0);">) </span><span style="color: rgb(0, 0, 0);"><<</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 35</span> <span style="color: rgb(0, 0, 0);">            builder.append(base64_alphabet.charAt(index));<br /> </span><span style="color: rgb(0, 128, 128);"> 36</span> <span style="color: rgb(0, 0, 0);">            builder.append(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br /> </span><span style="color: rgb(0, 128, 128);"> 37</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">break</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 38</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">case</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">:<br /> </span><span style="color: rgb(0, 128, 128);"> 39</span> <span style="color: rgb(0, 0, 0);">            index </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> data[data.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">] </span><span style="color: rgb(0, 0, 0);">>></span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 40</span> <span style="color: rgb(0, 0, 0);">            builder.append(base64_alphabet.charAt(index));<br /> </span><span style="color: rgb(0, 128, 128);"> 41</span> <span style="color: rgb(0, 0, 0);">            index </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> (data[data.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">] </span><span style="color: rgb(0, 0, 0);">&</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0x03</span><span style="color: rgb(0, 0, 0);">) </span><span style="color: rgb(0, 0, 0);"><<</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 42</span> <span style="color: rgb(0, 0, 0);">                    </span><span style="color: rgb(0, 0, 0);">|</span><span style="color: rgb(0, 0, 0);"> data[data.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">] </span><span style="color: rgb(0, 0, 0);">>></span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 43</span> <span style="color: rgb(0, 0, 0);">            builder.append(base64_alphabet.charAt(index));<br /> </span><span style="color: rgb(0, 128, 128);"> 44</span> <span style="color: rgb(0, 0, 0);">            index </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> (data[data.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">] </span><span style="color: rgb(0, 0, 0);">&</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0x0f</span><span style="color: rgb(0, 0, 0);">) </span><span style="color: rgb(0, 0, 0);"><<</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 45</span> <span style="color: rgb(0, 0, 0);">            builder.append(base64_alphabet.charAt(index));<br /> </span><span style="color: rgb(0, 128, 128);"> 46</span> <span style="color: rgb(0, 0, 0);">            builder.append(</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">);<br /> </span><span style="color: rgb(0, 128, 128);"> 47</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">break</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 48</span> <span style="color: rgb(0, 0, 0);">        }<br /> </span><span style="color: rgb(0, 128, 128);"> 49</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> builder.toString();<br /> </span><span style="color: rgb(0, 128, 128);"> 50</span> <span style="color: rgb(0, 0, 0);">    }<br /> </span><span style="color: rgb(0, 128, 128);"> 51</span> <span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 52</span> <span style="color: rgb(0, 0, 0);">    </span><span style="color: rgb(0, 128, 0);">/**</span><span style="color: rgb(0, 128, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 53</span> <span style="color: rgb(0, 128, 0);">     * 瑙g爜鍘熺悊:灝?涓瓧鑺傝漿鎹㈡垚3涓瓧鑺? 鍏堣鍏?涓?浣?鐢ㄦ垨榪愮畻),姣忔宸︾Щ6浣?鍐嶅彸縐?嬈?姣忔8浣?<br /> </span><span style="color: rgb(0, 128, 128);"> 54</span> <span style="color: rgb(0, 128, 0);">     * <br /> </span><span style="color: rgb(0, 128, 128);"> 55</span> <span style="color: rgb(0, 128, 0);">     * </span><span style="color: rgb(128, 128, 128);">@param</span><span style="color: rgb(0, 128, 0);"> data<br /> </span><span style="color: rgb(0, 128, 128);"> 56</span> <span style="color: rgb(0, 128, 0);">     *            闇瑙g爜鐨凚ase64瀛楃涓層?br /> </span><span style="color: rgb(0, 128, 128);"> 57</span> <span style="color: rgb(0, 128, 0);">     * </span><span style="color: rgb(128, 128, 128);">@return</span><span style="color: rgb(0, 128, 0);"> byte[]錛嶈В鐮佸嚭鐨勫瓧鑺傛暟緇?br /> </span><span style="color: rgb(0, 128, 128);"> 58</span> <span style="color: rgb(0, 128, 0);">     </span><span style="color: rgb(0, 128, 0);">*/</span><span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 59</span> <span style="color: rgb(0, 0, 0);">    </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[] Base64Decode(String data) {<br /> </span><span style="color: rgb(0, 128, 128);"> 60</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">char</span><span style="color: rgb(0, 0, 0);">[] chArray </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> data.toCharArray();<br /> </span><span style="color: rgb(0, 128, 128);"> 61</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> len </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> chArray.length;<br /> </span><span style="color: rgb(0, 128, 128);"> 62</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[] result </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[len </span><span style="color: rgb(0, 0, 0);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">3</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">/</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);">];<br /> </span><span style="color: rgb(0, 128, 128);"> 63</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> i </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">, res_i </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; i </span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);"> len; i </span><span style="color: rgb(0, 0, 0);">+=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);">, res_i </span><span style="color: rgb(0, 0, 0);">+=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">3</span><span style="color: rgb(0, 0, 0);">) {<br /> </span><span style="color: rgb(0, 128, 128);"> 64</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> goal </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 65</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> index </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 66</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> k </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; k </span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);">; k</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">) {<br /> </span><span style="color: rgb(0, 128, 128);"> 67</span> <span style="color: rgb(0, 0, 0);">                index </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> base64_alphabet.indexOf(chArray[i </span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);"> k]);<br /> </span><span style="color: rgb(0, 128, 128);"> 68</span> <span style="color: rgb(0, 0, 0);">                goal </span><span style="color: rgb(0, 0, 0);"><<=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">6</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 69</span> <span style="color: rgb(0, 0, 0);">                goal </span><span style="color: rgb(0, 0, 0);">|=</span><span style="color: rgb(0, 0, 0);"> index;<br /> </span><span style="color: rgb(0, 128, 128);"> 70</span> <span style="color: rgb(0, 0, 0);">            }<br /> </span><span style="color: rgb(0, 128, 128);"> 71</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> j </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">; j </span><span style="color: rgb(0, 0, 0);">>=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; j</span><span style="color: rgb(0, 0, 0);">--</span><span style="color: rgb(0, 0, 0);">) {<br /> </span><span style="color: rgb(0, 128, 128);"> 72</span> <span style="color: rgb(0, 0, 0);">                result[res_i </span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);"> j] </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">) goal;<br /> </span><span style="color: rgb(0, 128, 128);"> 73</span> <span style="color: rgb(0, 0, 0);">                goal </span><span style="color: rgb(0, 0, 0);">>>=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">8</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 74</span> <span style="color: rgb(0, 0, 0);">            }<br /> </span><span style="color: rgb(0, 128, 128);"> 75</span> <span style="color: rgb(0, 0, 0);">        }<br /> </span><span style="color: rgb(0, 128, 128);"> 76</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);"> 絳夊彿=鐨勫鐞?/span><span style="color: rgb(0, 128, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 77</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (chArray[len </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">] </span><span style="color: rgb(0, 0, 0);">!=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)<br /> </span><span style="color: rgb(0, 128, 128);"> 78</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> result;<br /> </span><span style="color: rgb(0, 128, 128);"> 79</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">else</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (chArray[len </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">] </span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)<br /> </span><span style="color: rgb(0, 128, 128);"> 80</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> Arrays.copyOf(result, result.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 0);">);<br /> </span><span style="color: rgb(0, 128, 128);"> 81</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">else</span><span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 82</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> Arrays.copyOf(result, result.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">);<br /> </span><span style="color: rgb(0, 128, 128);"> 83</span> <span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 84</span> <span style="color: rgb(0, 0, 0);">    }<br /> </span><span style="color: rgb(0, 128, 128);"> 85</span> <span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);"> 灝?nbsp;s 榪涜 BASE64 緙栫爜</span><span style="color: rgb(0, 128, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 86</span> <span style="color: rgb(0, 0, 0);">    </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> String getBASE64(String s) {<br /> </span><span style="color: rgb(0, 128, 128);"> 87</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (s </span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">)<br /> </span><span style="color: rgb(0, 128, 128);"> 88</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 89</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> sun.misc.BASE64Encoder()).encode(s.getBytes());<br /> </span><span style="color: rgb(0, 128, 128);"> 90</span> <span style="color: rgb(0, 0, 0);">    }<br /> </span><span style="color: rgb(0, 128, 128);"> 91</span> <span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 92</span> <span style="color: rgb(0, 0, 0);">    </span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);"> 灝?nbsp;BASE64 緙栫爜鐨勫瓧絎︿覆 s 榪涜瑙g爜</span><span style="color: rgb(0, 128, 0);"><br /> </span><span style="color: rgb(0, 128, 128);"> 93</span> <span style="color: rgb(0, 0, 0);">    </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> String getFromBASE64(String s) {<br /> </span><span style="color: rgb(0, 128, 128);"> 94</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (s </span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">)<br /> </span><span style="color: rgb(0, 128, 128);"> 95</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);"> 96</span> <span style="color: rgb(0, 0, 0);">        BASE64Decoder decoder </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> BASE64Decoder();<br /> </span><span style="color: rgb(0, 128, 128);"> 97</span> <span style="color: rgb(0, 0, 0);">        </span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);"> {<br /> </span><span style="color: rgb(0, 128, 128);"> 98</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[] b </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> decoder.decodeBuffer(s);<br /> </span><span style="color: rgb(0, 128, 128);"> 99</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> String(b);<br /> </span><span style="color: rgb(0, 128, 128);">100</span> <span style="color: rgb(0, 0, 0);">        } </span><span style="color: rgb(0, 0, 255);">catch</span><span style="color: rgb(0, 0, 0);"> (Exception e) {<br /> </span><span style="color: rgb(0, 128, 128);">101</span> <span style="color: rgb(0, 0, 0);">            </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br /> </span><span style="color: rgb(0, 128, 128);">102</span> <span style="color: rgb(0, 0, 0);">        }<br /> </span><span style="color: rgb(0, 128, 128);">103</span> <span style="color: rgb(0, 0, 0);">    }<br /> </span><span style="color: rgb(0, 128, 128);">104</span> <span style="color: rgb(0, 0, 0);">}</span></div> <br /> <br /> <img src ="http://www.tkk7.com/wenhl5656/aggbug/247948.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wenhl5656/" target="_blank">鐖卞悆楸煎ご</a> 2008-12-23 17:36 <a href="http://www.tkk7.com/wenhl5656/archive/2008/12/23/247948.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Java 鐢熸垚闅忔満搴忓垪http://www.tkk7.com/wenhl5656/archive/2008/12/23/247947.html鐖卞悆楸煎ご鐖卞悆楸煎ごTue, 23 Dec 2008 09:32:00 GMThttp://www.tkk7.com/wenhl5656/archive/2008/12/23/247947.htmlhttp://www.tkk7.com/wenhl5656/comments/247947.htmlhttp://www.tkk7.com/wenhl5656/archive/2008/12/23/247947.html#Feedback0http://www.tkk7.com/wenhl5656/comments/commentRss/247947.htmlhttp://www.tkk7.com/wenhl5656/services/trackbacks/247947.html闃呰鍏ㄦ枃

鐖卞悆楸煎ご 2008-12-23 17:32 鍙戣〃璇勮
]]>
Picture Gethttp://www.tkk7.com/wenhl5656/archive/2008/09/29/231818.html鐖卞悆楸煎ご鐖卞悆楸煎ごMon, 29 Sep 2008 13:05:00 GMThttp://www.tkk7.com/wenhl5656/archive/2008/09/29/231818.htmlhttp://www.tkk7.com/wenhl5656/comments/231818.htmlhttp://www.tkk7.com/wenhl5656/archive/2008/09/29/231818.html#Feedback4http://www.tkk7.com/wenhl5656/comments/commentRss/231818.htmlhttp://www.tkk7.com/wenhl5656/services/trackbacks/231818.html    鐢ㄤ簡Apache Jakarta Common 涓嬬殑HttpClient搴擄紝鎶婂師鏉ョ殑BatchImageFetch紼嬪簭瀹屽叏淇敼浜嗕竴鐣紝鐑︿漢鐨刢ookie闂緇堜簬瑙e喅浜嗐侱iscuz璁哄潧鏄敤cookie楠岃瘉鐢ㄦ埛鏄惁鐧誨綍錛屽茍涓旀椂甯鎬細鏇存柊cookie銆傚湪鍘熸潵鍒濆鐨勪唬鐮佷腑錛屽湪socket灞傞潰涓婃搷浣滐紝緇存姢cookie鐪熸槸涓浠墮夯鐑︾殑浜嬫儏銆?br />      HttpClient鍙互鑷姩鐨勫鐞哻ookie錛屽茍涓斿皝瑁卌ookie綾伙紝瑕佹墜鍔ㄦ搷浣滀篃寰堟柟渚褲傚湪瀹為檯涓彂鐜幫紝鑻ヨHttpClient鑷姩澶勭悊cookie錛岃繕鏄棤娉曠淮鎸佽鍧涚殑鐧誨綍鐘舵佺殑錛屽洜涓鴻櫧鐒禜ttpClient鎺ユ敹浜嗘湇鍔″櫒绔殑鐨凥ttp鍝嶅簲澶翠腑鐨?#8220;Set-cookie”,浣嗗茍娌℃湁灝咰ookie搴旂敤鍒版柊鐨勮姹傚綋涓紝鍙﹀閫氳繃鐢╥ehttpheaders鎴寘灝變細鍙戠幇錛宧ttpclient浼氬湪header閲屾瀯浠跺涓猚ookie欏癸紝姣忎竴欏瑰彧鍚湁涓涓猚ookie錛岃繖鍚孖E鏄笉涓鏍風殑銆侷E鍜孎irefox浼氭妸鎵鏈夌殑cookie鎵撳寘鎴愪竴涓紝鐒跺悗鍦ㄨ繖涓猚ookie閲屾寜鐓у垎鍙鋒妸姣忎竴欏歸殧寮錛屼腑闂存湁涓┖鏍箋傚洜姝わ紝鍦ㄤ唬鐮佷腑錛屽厛鏄幏鍙朒ttpClient鎺ユ敹鍒扮殑Cookie錛岀劧鍚庡啀灝嗕箣鎵撳寘鎴怚E閭g褰㈠紡錛岀洿鎺ヨ緗姹傚ご“Cookie錛?...”銆?br />      鐢℉ttClient鐪熺殑寰堟柟渚匡紝璁哄潧鐧誨綍錛岀綉欏典笅杞斤紝鍥劇墖涓嬭澆錛屼粎浠呭嚑琛屼唬鐮佸嵆鍙紝澶уぇ鐨勫噺灝戜簡宸ヤ綔閲忋?/p>

鐖卞悆楸煎ご 2008-09-29 21:05 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 24小时免费直播在线观看| 综合亚洲伊人午夜网| 久久无码av亚洲精品色午夜| 免费国产在线观看| 国产成人AV片无码免费| 亚洲综合色丁香婷婷六月图片| 亚洲精品一级无码鲁丝片| 91精品国产免费网站| 久久亚洲精品无码gv| 国产∨亚洲V天堂无码久久久| 嫩草影院在线免费观看| a级毛片高清免费视频| 亚洲精品中文字幕| 亚洲一区二区三区四区在线观看| 美女被免费视频网站a国产| 男人都懂www深夜免费网站| 亚洲第一街区偷拍街拍| 亚洲AV无码久久精品狠狠爱浪潮| 在线播放免费人成视频在线观看| 免费看男人j放进女人j免费看| 亚洲国产成人精品无码区花野真一| 日本亚洲成高清一区二区三区| 日韩免费观看视频| 96免费精品视频在线观看| 黄页视频在线观看免费| 亚洲欧洲精品一区二区三区| 在线精品亚洲一区二区三区 | 成人一a毛片免费视频| a级毛片免费完整视频| 亚洲成在人线aⅴ免费毛片| 亚洲视频在线观看不卡| 亚洲人成色77777| 免费午夜爽爽爽WWW视频十八禁| 国产免费的野战视频| 无码国产精品一区二区免费模式 | 亚洲综合久久一本伊伊区| 亚洲中文字幕丝袜制服一区| 香蕉视频在线观看免费国产婷婷 | 成年女人午夜毛片免费视频| 亚在线观看免费视频入口| h视频免费高清在线观看|