锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲天堂一区二区三区四区,亚洲成Av人片乱码色午夜,亚洲成av人片天堂网老年人http://www.tkk7.com/luckyrobbie/category/8493.html<font size=-1>JAVA鏄摑鑹茬殑-</font> <!-- Start FastOnlineUsers.com --> <a ><script type="text/javascript" src="http://fastonlineusers.com/on2.php?d=www.tkk7.com/luckyrobbie"></script> online</a><!-- End FastOnlineUsers.com -->zh-cnWed, 28 Feb 2007 04:18:04 GMTWed, 28 Feb 2007 04:18:04 GMT60鐢╠ecorate妯″紡鐢諱竴寮犵敾http://www.tkk7.com/luckyrobbie/archive/2006/03/27/37638.htmlluckyrobbieluckyrobbieMon, 27 Mar 2006 08:56:00 GMThttp://www.tkk7.com/luckyrobbie/archive/2006/03/27/37638.htmlhttp://www.tkk7.com/luckyrobbie/comments/37638.htmlhttp://www.tkk7.com/luckyrobbie/archive/2006/03/27/37638.html#Feedback0http://www.tkk7.com/luckyrobbie/comments/commentRss/37638.htmlhttp://www.tkk7.com/luckyrobbie/services/trackbacks/37638.html鎴戝decorate妯″紡鐨勭悊瑙o細
1-棣栧厛瑕佹湁涓涓狪nterface錛屾彁渚涗竴涓氱敤鐨勬柟娉曪紱
2-鍏舵鏈塶澶氫釜class鏉ュ疄鐜拌繖涓帴鍙d腑鐨勬柟娉曪紝榪欎簺瀹炵幇鏂規硶鍦ㄥ姛鑳戒笂搴旇鏄茍鍒楃殑錛屼絾涓嶆槸蹇呴』鐨勶紝浠庤屽彲浠ユ牴鎹渶瑕乨ecorate閭d釜闇瑕佽淇グ鐨勫垵濮嬪璞°?br />3-鏈鍚庤繖浜沜lass閮芥湁涓涓甫鏈塈nterface浣滀負鍙傛暟鐨勬瀯閫犳柟娉曞拰涓涓狪nterface鐨勫睘鎬э紝榪欐牱鍦ㄦ瀯閫犵殑鏃跺欏氨鍙互鍙栧緱閭d釜闇瑕佷慨楗扮殑瀵硅薄鐨勫疄渚嬶紝鐒跺悗鍦ㄥ疄鐜癐nterface鐨勬柟娉曢噷闈紝棣栧厛瀹炵幇淇グ瀵硅薄瀹炰緥鐨勪慨楗版柟娉曪紝鐒跺悗鍐嶈繘琛岃嚜宸辯殑decorate鏂規硶銆?br />
鏍規嵁榪欎釜鎯蟲硶鏉ョ敾涓寮犵敾錛?/p>
package 聽test;

public interface 聽Painting聽 {
聽聽聽聽
public void 聽paint();
}


class 聽SunPainting聽 implements 聽Painting聽 {
聽聽聽聽Painting聽painting聽
= null ;

聽聽聽聽
public 聽SunPainting()聽 {
聽聽聽聽}


聽聽聽聽
public 聽SunPainting(Painting聽painting)聽 {
聽聽聽聽聽聽聽聽
this .painting聽 = 聽painting;
聽聽聽聽}


聽聽聽聽
public void 聽paint()聽 {
聽聽聽聽聽聽聽聽
if 聽(painting聽 != null )聽 {
聽聽聽聽聽聽聽聽聽聽聽聽painting.paint();
聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽System.out.println(
" 鐢諱簡涓涓お闃?img src="http://www.tkk7.com/images/dot.gif" /> " );
聽聽聽聽}

}


class 聽CloudPainting聽 implements 聽Painting聽 {
聽聽聽聽Painting聽painting聽
= null ;

聽聽聽聽
public 聽CloudPainting()聽 {
聽聽聽聽}


聽聽聽聽
public 聽CloudPainting(Painting聽painting)聽 {
聽聽聽聽聽聽聽聽
this .painting聽 = 聽painting;
聽聽聽聽}


聽聽聽聽
public void 聽paint()聽 {
聽聽聽聽聽聽聽聽
if 聽(painting聽 != null )聽 {
聽聽聽聽聽聽聽聽聽聽聽聽painting.paint();
聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽System.out.println(
" 鐢諱簡涓鏈電櫧浜?img src="http://www.tkk7.com/images/dot.gif" /> " );
聽聽聽聽}

}


class 聽LawnPainting聽 implements 聽Painting聽 {
聽聽聽聽Painting聽painting聽
= null ;

聽聽聽聽
public 聽LawnPainting()聽 {
聽聽聽聽}


聽聽聽聽
public 聽LawnPainting(Painting聽painting)聽 {
聽聽聽聽聽聽聽聽
this .painting聽 = 聽painting;
聽聽聽聽}


聽聽聽聽
public void 聽paint()聽 {
聽聽聽聽聽聽聽聽
if 聽(painting聽 != null )聽 {
聽聽聽聽聽聽聽聽聽聽聽聽painting.paint();
聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽System.out.println(
" 鐢諱簡涓鐗囪崏鍦?img src="http://www.tkk7.com/images/dot.gif" /> " );
聽聽聽聽}

}

鍐嶅啓孌墊祴璇曠敾鐢葷殑浠g爜:

package 聽test;

public class 聽TestPainting聽 {
聽聽聽聽
public static void 聽main(String[]聽args) {
聽聽聽聽聽聽聽聽
new 聽SunPainting( new 聽CloudPainting( new 聽LawnPainting())).paint();
聽聽聽聽}

}

嫻嬭瘯緇撴灉:

鐢諱簡涓鐗囪崏鍦?img src="http://www.tkk7.com/images/dot.gif" />
鐢諱簡涓鏈電櫧浜?img src="http://www.tkk7.com/images/dot.gif" />
鐢諱簡涓涓お闃?img src="http://www.tkk7.com/images/dot.gif" />


鏈鍚庢湁涓棶棰橈細涓轟粈涔堜笉鐩存帴瀹氫箟涓涓敾鐢葷殑綾伙紝鐒跺悗鎶婅繖浜涜鎬庝箞鐢葷殑浜嬫儏鍒嗗埆閫氳繃鏂規硶鏉ュ疄鐜板憿錛?閭d箞浠涔堟儏鍐典笅浣跨敤decorate妯″紡鏇翠負鍚堥傚憿錛?/font>



]]>
鐢ㄥ叚澶т唬鐮侀棶棰樻楠屼綘鐨凧ava鐭ヨ瘑鑳藉姏http://www.tkk7.com/luckyrobbie/archive/2006/03/27/37553.htmlluckyrobbieluckyrobbieMon, 27 Mar 2006 02:17:00 GMThttp://www.tkk7.com/luckyrobbie/archive/2006/03/27/37553.htmlhttp://www.tkk7.com/luckyrobbie/comments/37553.htmlhttp://www.tkk7.com/luckyrobbie/archive/2006/03/27/37553.html#Feedback0http://www.tkk7.com/luckyrobbie/comments/commentRss/37553.htmlhttp://www.tkk7.com/luckyrobbie/services/trackbacks/37553.html
聽聽聽聽聽聽聽 1 OutputStreamWriter out = ...
銆銆2 java.sql.Connection conn = ...
銆銆3 try { // 鈶?br />銆銆4 Statement stat = conn.createStatement();
銆銆5 ResultSet rs = stat.executeQuery(
銆銆6 "select uid, name from user");
銆銆7 while (rs.next())
銆銆8 {
銆銆9 out.println("ID錛? + rs.getString("uid") // 鈶?br />銆銆10 "錛屽鍚嶏細" + rs.getString("name"));
銆銆11 }
銆銆12 conn.close(); // 鈶?br />銆銆13 out.close();
銆銆14 }
銆銆15 catch(Exception ex) // 鈶?br />銆銆16 {
銆銆17 ex.printStackTrace(); // 鈶達紝鈶?br />銆銆18 }

浣滀負涓涓狫ava紼嬪簭鍛橈紝浣犺嚦灝戝簲璇ヨ兘澶熸壘鍑轟袱涓棶棰樸備絾鏄紝濡傛灉浣犱笉鑳芥壘鍑哄叏閮ㄥ叚涓棶棰橈紝璇風戶緇槄璇繪湰鏂囥?

鏈枃璁ㄨ鐨勪笉鏄疛ava寮傚父澶勭悊鐨勪竴鑸у師鍒欙紝鍥犱負榪欎簺鍘熷垯宸茬粡琚ぇ澶氭暟浜虹啛鐭ャ傛垜浠鍋氱殑鏄垎鏋愬悇縐嶅彲縐頒負鈥滃弽渚嬧濓紙anti-pattern錛夌殑榪濊儗浼樼緙栫爜瑙勮寖鐨勫父瑙佸潖涔犳儻錛屽府鍔╄鑰呯啛鎮夎繖浜涘吀鍨嬬殑鍙嶉潰渚嬪瓙錛屼粠鑰岃兘澶熷湪瀹為檯宸ヤ綔涓晱閿愬湴瀵熻鍜岄伩鍏嶈繖浜涢棶棰樸?

鍙嶄緥涔嬩竴錛氫涪寮冨紓甯?

浠g爜錛?5琛?18琛屻?

榪欐浠g爜鎹曡幏浜嗗紓甯稿嵈涓嶄綔浠諱綍澶勭悊錛屽彲浠ョ畻寰椾笂Java緙栫▼涓殑鏉鎵嬨備粠闂鍑虹幇鐨勯綣佺▼搴﹀拰紲稿紼嬪害鏉ョ湅錛屽畠涔熻鍙互鍜孋/C++紼嬪簭鐨勪竴涓伓鍚嶈繙鎾殑闂鐩告彁騫惰??涓嶆鏌ョ紦鍐插尯鏄惁宸叉弧銆?

濡傛灉浣犵湅鍒頒簡榪欑涓㈠純錛堣屼笉鏄姏鍑猴級寮傚父鐨勬儏鍐碉紝鍙互鐧懼垎涔嬩節鍗佷節鍦拌偗瀹氫唬鐮佸瓨鍦ㄩ棶棰橈紙鍦ㄦ瀬灝戞暟鎯呭喌涓嬶紝榪欐浠g爜鏈夊瓨鍦ㄧ殑鐞嗙敱錛屼絾鏈濂藉姞涓婂畬鏁寸殑娉ㄩ噴錛屼互鍏嶅紩璧峰埆浜鴻瑙o級銆?

榪欐浠g爜鐨勯敊璇湪浜庯紝寮傚父錛堝嚑涔庯級鎬繪槸鎰忓懗鐫鏌愪簺浜嬫儏涓嶅鍔蹭簡錛屾垨鑰呰鑷沖皯鍙戠敓浜嗘煇浜涗笉瀵誨父鐨勪簨鎯咃紝鎴戜滑涓嶅簲璇ュ紼嬪簭鍙戝嚭鐨勬眰鏁戜俊鍙蜂繚鎸佹矇榛樺拰鏃犲姩浜庤》銆傝皟鐢ㄤ竴涓媝rintStackTrace綆椾笉涓娾滃鐞嗗紓甯糕濄?

涓嶉敊錛岃皟鐢╬rintStackTrace瀵硅皟璇曠▼搴忔湁甯姪錛屼絾紼嬪簭璋冭瘯闃舵緇撴潫涔嬪悗錛宲rintStackTrace灝變笉搴斿啀鍦ㄥ紓甯稿鐞嗘ā鍧椾腑鎷呰礋涓昏璐d換浜嗐?

涓㈠純寮傚父鐨勬儏褰㈤潪甯告櫘閬嶃傛墦寮JDK鐨凾hreadDeath綾葷殑鏂囨。錛屽彲浠ョ湅鍒頒笅闈㈣繖孌佃鏄庯細鈥滅壒鍒湴錛岃櫧鐒跺嚭鐜癟hreadDeath鏄竴縐嶁樻甯哥殑鎯呭艦鈥欙紝浣員hreadDeath綾繪槸Error鑰屼笉鏄疎xception鐨勫瓙綾伙紝鍥犱負璁稿搴旂敤浼氭崟鑾鋒墍鏈夌殑Exception鐒跺悗涓㈠純瀹冧笉鍐嶇悊鐫?

鈥濊繖孌佃瘽鐨勬剰鎬濇槸錛岃櫧鐒禩hreadDeath浠h〃鐨勬槸涓縐嶆櫘閫氱殑闂錛屼絾閴翠簬璁稿搴旂敤浼氳瘯鍥炬崟鑾鋒墍鏈夊紓甯哥劧鍚庝笉浜堜互閫傚綋鐨勫鐞嗭紝鎵浠DK鎶奣hreadDeath瀹氫箟鎴愪簡Error鐨勫瓙綾伙紝鍥犱負Error綾諱唬琛ㄧ殑鏄竴鑸殑搴旂敤涓嶅簲璇ュ幓鎹曡幏鐨勪弗閲嶉棶棰樸傚彲瑙侊紝涓㈠純寮傚父榪欎竴鍧忎範鎯槸濡傛甯歌錛屽畠鐢氳嚦宸茬粡褰卞搷鍒頒簡Java鏈韓鐨勮璁°?

閭d箞錛屽簲璇ユ庢牱鏀規鍛紵涓昏鏈夊洓涓夋嫨錛?

1銆佸鐞嗗紓甯搞傞拡瀵硅寮傚父閲囧彇涓浜涜鍔紝渚嬪淇闂銆佹彁閱掓煇涓漢鎴栬繘琛屽叾浠栦竴浜涘鐞嗭紝瑕佹牴鎹叿浣撶殑鎯呭艦紜畾搴旇閲囧彇鐨勫姩浣溿傚啀嬈¤鏄庯紝璋冪敤printStackTrace綆椾笉涓婂凡緇忊滃鐞嗗ソ浜嗗紓甯糕濄?

2銆侀噸鏂版姏鍑哄紓甯搞傚鐞嗗紓甯哥殑浠g爜鍦ㄥ垎鏋愬紓甯鎬箣鍚庯紝璁や負鑷繁涓嶈兘澶勭悊瀹冿紝閲嶆柊鎶涘嚭寮傚父涔熶笉澶變負涓縐嶉夋嫨銆?

3銆佹妸璇ュ紓甯歌漿鎹㈡垚鍙︿竴縐嶅紓甯搞傚ぇ澶氭暟鎯呭喌涓嬶紝榪欐槸鎸囨妸涓涓綆綰х殑寮傚父杞崲鎴愬簲鐢ㄧ駭鐨勫紓甯革紙鍏跺惈涔夋洿瀹規槗琚敤鎴蜂簡瑙g殑寮傚父錛夈?

4銆佷笉瑕佹崟鑾峰紓甯搞?

緇撹涓錛氭棦鐒舵崟鑾蜂簡寮傚父錛屽氨瑕佸瀹冭繘琛岄傚綋鐨勫鐞嗐備笉瑕佹崟鑾峰紓甯鎬箣鍚庡張鎶婂畠涓㈠純錛屼笉浜堢悊鐫?

鍙嶄緥涔嬩簩錛氫笉鎸囧畾鍏蜂綋鐨勫紓甯?

浠g爜錛?5琛屻?

璁稿鏃跺欎漢浠細琚繖鏍蜂竴縐嶁滅編濡欑殑鈥濇兂娉曞惛寮曪細鐢ㄤ竴涓猚atch璇彞鎹曡幏鎵鏈夌殑寮傚父銆傛渶甯歌鐨勬儏褰㈠氨鏄嬌鐢╟atch(Exception

ex)璇彞銆備絾瀹為檯涓婏紝鍦ㄧ粷澶у鏁版儏鍐典笅錛岃繖縐嶅仛娉曚笉鍊煎緱鎻愬°備負浠涔堝憿錛?

瑕佺悊瑙e叾鍘熷洜錛屾垜浠繀欏誨洖欏句竴涓媍atch璇彞鐨勭敤閫斻俢atch璇彞琛ㄧず鎴戜滑棰勬湡浼氬嚭鐜版煇縐嶅紓甯革紝鑰屼笖甯屾湜鑳藉澶勭悊璇ュ紓甯搞傚紓甯哥被鐨勪綔鐢ㄥ氨鏄憡璇塉ava緙栬瘧鍣ㄦ垜浠兂瑕佸鐞嗙殑鏄摢涓縐嶅紓甯搞?

鐢變簬緇濆ぇ澶氭暟寮傚父閮界洿鎺ユ垨闂存帴浠巎ava.lang.Exception媧劇敓錛宑atch(Exception ex)灝辯浉褰撲簬璇存垜浠兂瑕佸鐞嗗嚑涔庢墍鏈夌殑寮傚父銆?

鍐嶆潵鐪嬬湅鍓嶉潰鐨勪唬鐮佷緥瀛愩傛垜浠湡姝f兂瑕佹崟鑾風殑寮傚父鏄粈涔堝憿錛熸渶鏄庢樉鐨勪竴涓槸SQLException錛岃繖鏄疛DBC鎿嶄綔涓父瑙佺殑寮傚父銆傚彟涓涓彲鑳界殑寮傚父鏄疘OException錛屽洜涓哄畠瑕佹搷浣淥utputStreamWriter銆?

鏄劇劧錛屽湪鍚屼竴涓猚atch鍧椾腑澶勭悊榪欎袱縐嶆埅鐒朵笉鍚岀殑寮傚父鏄笉鍚堥傜殑銆傚鏋滅敤涓や釜catch鍧楀垎鍒崟鑾稴QLException鍜孖OException灝辮濂藉浜嗐傝繖灝辨槸璇達紝catch璇彞搴斿綋灝介噺鎸囧畾鍏蜂綋鐨勫紓甯哥被鍨嬶紝鑰屼笉搴旇鎸囧畾娑電洊鑼冨洿澶箍鐨凟xception綾匯?

鍙︿竴鏂歸潰錛岄櫎浜嗚繖涓や釜鐗瑰畾鐨勫紓甯革紝榪樻湁鍏朵粬璁稿寮傚父涔熷彲鑳藉嚭鐜般備緥濡傦紝濡傛灉鐢變簬鏌愮鍘熷洜錛宔xecuteQuery榪斿洖浜唍ull錛岃鎬庝箞鍔烇紵絳旀鏄瀹冧滑緇х畫鎶涘嚭錛屽嵆涓嶅繀鎹曡幏涔熶笉蹇呭鐞嗐傚疄闄呬笂錛屾垜浠笉鑳戒篃涓嶅簲璇ュ幓鎹曡幏鍙兘鍑虹幇鐨勬墍鏈夊紓甯革紝紼嬪簭鐨勫叾浠栧湴鏂硅繕鏈夋崟鑾峰紓甯哥殑鏈轟細鐩磋嚦鏈鍚庣敱JVM澶勭悊銆?

緇撹浜岋細鍦╟atch璇彞涓敖鍙兘鎸囧畾鍏蜂綋鐨勫紓甯哥被鍨嬶紝蹇呰鏃朵嬌鐢ㄥ涓猚atch銆備笉瑕佽瘯鍥懼鐞嗘墍鏈夊彲鑳藉嚭鐜扮殑寮傚父銆?

鍙嶄緥涔嬩笁錛氬崰鐢ㄨ祫婧愪笉閲婃斁

浠g爜錛?琛?14琛屻?

寮傚父鏀瑰彉浜嗙▼搴忔甯哥殑鎵ц嫻佺▼銆傝繖涓亾鐞嗚櫧鐒剁畝鍗曪紝鍗村父甯歌浜轟滑蹇借銆傚鏋滅▼搴忕敤鍒頒簡鏂囦歡銆丼ocket銆丣DBC榪炴帴涔嬬被鐨勮祫婧愶紝鍗充嬌閬囧埌浜嗗紓甯革紝涔熻姝g‘閲婃斁鍗犵敤鐨勮祫婧愩備負姝わ紝Java鎻愪緵浜嗕竴涓畝鍖栬繖綾繪搷浣滅殑鍏抽敭璇峟inally銆?

finally鏄牱濂戒笢瑗匡細涓嶇鏄惁鍑虹幇浜嗗紓甯革紝Finally淇濊瘉鍦╰ry/catch/finally鍧楃粨鏉熶箣鍓嶏紝鎵ц娓呯悊浠誨姟鐨勪唬鐮佹繪槸鏈夋満浼氭墽琛屻傞仐鎲劇殑鏄湁浜涗漢鍗翠笉涔犳儻浣跨敤finally銆?

褰撶劧錛岀紪鍐檉inally鍧楀簲褰撳鍔犲皬蹇冿紝鐗瑰埆鏄娉ㄦ剰鍦╢inally鍧椾箣鍐呮姏鍑虹殑寮傚父??榪欐槸鎵ц娓呯悊浠誨姟鐨勬渶鍚庢満浼氾紝灝介噺涓嶈鍐嶆湁闅句互澶勭悊鐨勯敊璇?

緇撹涓夛細淇濊瘉鎵鏈夎祫婧愰兘琚紜噴鏀俱傚厖鍒嗚繍鐢╢inally鍏抽敭璇嶃?

鍙嶄緥涔嬪洓錛氫笉璇存槑寮傚父鐨勮緇嗕俊鎭?

浠g爜錛?琛?18琛屻?

浠旂粏瑙傚療榪欐浠g爜錛氬鏋滃驚鐜唴閮ㄥ嚭鐜頒簡寮傚父錛屼細鍙戠敓浠涔堜簨鎯咃紵鎴戜滑鍙互寰楀埌瓚沖鐨勪俊鎭垽鏂驚鐜唴閮ㄥ嚭閿欑殑鍘熷洜鍚楋紵涓嶈兘銆傛垜浠彧鑳界煡閬撳綋鍓嶆鍦ㄥ鐞嗙殑綾誨彂鐢熶簡鏌愮閿欒錛屼絾鍗翠笉鑳借幏寰椾換浣曚俊鎭垽鏂鑷村綋鍓嶉敊璇殑鍘熷洜銆?

printStackTrace鐨勫爢鏍堣窡韙姛鑳芥樉紺哄嚭紼嬪簭榪愯鍒板綋鍓嶇被鐨勬墽琛屾祦紼嬶紝浣嗗彧鎻愪緵浜嗕竴浜涙渶鍩烘湰鐨勪俊鎭紝鏈兘璇存槑瀹為檯瀵艱嚧閿欒鐨勫師鍥狅紝鍚屾椂涔熶笉鏄撹В璇匯?

鍥犳錛屽湪鍑虹幇寮傚父鏃訛紝鏈濂借兘澶熸彁渚涗竴浜涙枃瀛椾俊鎭紝渚嬪褰撳墠姝e湪鎵ц鐨勭被銆佹柟娉曞拰鍏朵粬鐘舵佷俊鎭紝鍖呮嫭浠ヤ竴縐嶆洿閫傚悎闃呰鐨勬柟寮忔暣鐞嗗拰緇勭粐printStackTrace鎻愪緵鐨勪俊鎭?

緇撹鍥涳細鍦ㄥ紓甯稿鐞嗘ā鍧椾腑鎻愪緵閫傞噺鐨勯敊璇師鍥犱俊鎭紝緇勭粐閿欒淇℃伅浣垮叾鏄撲簬鐞嗚В鍜岄槄璇匯?

鍙嶄緥涔嬩簲錛氳繃浜庡簽澶х殑try鍧?

浠g爜錛?琛?14琛屻?

緇忓父鍙互鐪嬪埌鏈変漢鎶婂ぇ閲忕殑浠g爜鏀懼叆鍗曚釜try鍧楋紝瀹為檯涓婅繖涓嶆槸濂戒範鎯傝繖縐嶇幇璞′箣鎵浠ュ父瑙侊紝鍘熷洜灝卞湪浜庢湁浜涗漢鍥劇渷浜嬶紝涓嶆効鑺辨椂闂村垎鏋愪竴澶у潡浠g爜涓摢鍑犺浠g爜浼氭姏鍑哄紓甯搞佸紓甯哥殑鍏蜂綋綾誨瀷鏄粈涔堛傛妸澶ч噺鐨勮鍙ヨ鍏ュ崟涓法澶х殑try鍧楀氨璞℃槸鍑洪棬鏃呮父鏃舵妸鎵鏈夋棩甯哥敤鍝佸鍏ヤ竴涓ぇ綆卞瓙錛岃櫧鐒朵笢瑗挎槸甯︿笂浜嗭紝浣嗚鎵懼嚭鏉ュ彲涓嶅鏄撱?

涓浜涙柊鎵嬪父甯告妸澶ч噺鐨勪唬鐮佹斁鍏ュ崟涓猼ry鍧楋紝鐒跺悗鍐嶅湪catch璇彞涓0鏄嶦xception錛岃屼笉鏄垎紱誨悇涓彲鑳藉嚭鐜板紓甯哥殑孌佃惤騫跺垎鍒崟鑾峰叾寮傚父銆傝繖縐嶅仛娉曚負鍒嗘瀽紼嬪簭鎶涘嚭寮傚父鐨勫師鍥犲甫鏉ヤ簡鍥伴毦錛屽洜涓轟竴澶ф浠g爜涓湁澶鐨勫湴鏂瑰彲鑳芥姏鍑篍xception銆?

緇撹浜旓細灝介噺鍑忓皬try鍧楃殑浣撶Н銆?

鍙嶄緥涔嬪叚錛氳緭鍑烘暟鎹笉瀹屾暣

浠g爜錛?琛?11琛屻?

涓嶅畬鏁寸殑鏁版嵁鏄疛ava紼嬪簭鐨勯殣褰㈡潃鎵嬨備粩緇嗚瀵熻繖孌典唬鐮侊紝鑰冭檻涓涓嬪鏋滃驚鐜殑涓棿鎶涘嚭浜嗗紓甯革紝浼氬彂鐢熶粈涔堜簨鎯呫傚驚鐜殑鎵ц褰撶劧鏄琚墦鏂殑錛屽叾嬈★紝catch鍧椾細鎵ц??灝辮繖浜涳紝鍐嶄篃娌℃湁鍏朵粬鍔ㄤ綔浜嗐?

宸茬粡杈撳嚭鐨勬暟鎹庝箞鍔烇紵浣跨敤榪欎簺鏁版嵁鐨勪漢鎴栬澶囧皢鏀跺埌涓浠戒笉瀹屾暣鐨勶紙鍥犺屼篃鏄敊璇殑錛夋暟鎹紝鍗村緱涓嶅埌浠諱綍鏈夊叧榪欎喚鏁版嵁鏄惁瀹屾暣鐨勬彁紺恒傚浜庢湁浜涚郴緇熸潵璇達紝鏁版嵁涓嶅畬鏁村彲鑳芥瘮緋葷粺鍋滄榪愯甯︽潵鏇村ぇ鐨勬崯澶便?

杈冧負鐞嗘兂鐨勫緗姙娉曟槸鍚戣緭鍑鴻澶囧啓涓浜涗俊鎭紝澹版槑鏁版嵁鐨勪笉瀹屾暣鎬э紱鍙︿竴縐嶅彲鑳芥湁鏁堢殑鍔炴硶鏄紝鍏堢紦鍐茶杈撳嚭鐨勬暟鎹紝鍑嗗濂藉叏閮ㄦ暟鎹箣鍚庡啀涓嬈℃ц緭鍑恒?

緇撹鍏細鍏ㄩ潰鑰冭檻鍙兘鍑虹幇鐨勫紓甯鎬互鍙婅繖浜涘紓甯稿鎵ц嫻佺▼鐨勫獎鍝嶃?

鏀瑰啓鍚庣殑浠g爜

鏍規嵁涓婇潰鐨勮璁猴紝涓嬮潰緇欏嚭鏀瑰啓鍚庣殑浠g爜銆備篃璁告湁浜轟細璇村畠紼嶅井鏈夌偣?鍡︼紝浣嗘槸瀹冩湁浜嗘瘮杈冨畬澶囩殑寮傚父澶勭悊鏈哄埗銆?


OutputStreamWriter out = ...
銆銆java.sql.Connection conn = ...
銆銆try {
銆銆銆Statement stat = conn.createStatement();
銆銆銆ResultSet rs = stat.executeQuery("select uid, name from user");
銆銆銆while (rs.next()){
銆銆銆銆out.println("ID錛? + rs.getString("uid") + "錛屽鍚? "+ rs.getString("name"));
銆銆銆}
銆銆}
銆銆catch(SQLException sqlex)
銆銆{
銆銆銆out.println("璀﹀憡錛氭暟鎹笉瀹屾暣");
銆銆銆throw new ApplicationException("璇誨彇鏁版嵁鏃跺嚭鐜癝QL閿欒", sqlex);
銆銆}
銆銆catch(IOException ioex)
銆銆{
銆銆銆throw new ApplicationException("鍐欏叆鏁版嵁鏃跺嚭鐜癐O閿欒", ioex);
銆銆}
銆銆finally
銆銆{
銆銆銆if (conn != null) {
銆銆銆銆try {
銆銆銆銆銆conn.close();
銆銆銆銆}
銆銆銆銆catch(SQLException sqlex2)
銆銆銆銆{
銆銆銆銆銆System.err(this.getClass().getName() + ".mymethod - 涓嶈兘鍏抽棴鏁版嵁搴撹繛鎺?" + sqlex2.toString());
銆銆銆銆}
銆銆銆}
銆銆銆if (out != null){
銆銆銆銆try {
銆銆銆銆銆out.close();
銆銆銆銆}
銆銆銆銆catch(IOException ioex2)
銆銆銆銆{
銆銆銆銆銆System.err(this.getClass().getName() + ".mymethod - 涓嶈兘鍏抽棴杈撳嚭鏂囦歡" + ioex2.toString());
銆銆銆銆}
銆銆銆}
銆銆}




鏈枃鐨勭粨璁轟笉鏄斁涔嬪洓嫻風殕鍑嗙殑鏁欐潯錛屾湁鏃跺父璇嗗拰緇忛獙鎵嶆槸鏈濂界殑鑰佸笀銆傚鏋滀綘瀵硅嚜宸辯殑鍋氭硶娌℃湁鐧懼垎涔嬬櫨鐨勪俊蹇冿紝鍔″繀鍔犱笂璇︾粏銆佸叏闈㈢殑娉ㄩ噴銆?

涓鏂歸潰錛屼笉瑕佺瑧璇濊繖浜涢敊璇紝涓嶅Θ闂棶浣犺嚜宸辨槸鍚︾湡鍦板交搴曟憜鑴變簡榪欎簺鍧忎範鎯傚嵆浣挎渶鏈夌粡楠岀殑紼嬪簭鍛樺伓灝斾篃浼氳鍏ユ閫旓紝鍘熷洜寰堢畝鍗曪紝鍥犱負瀹冧滑紜‘瀹炲疄甯︽潵浜嗏滄柟渚庫濄傛墍鏈夎繖浜涘弽渚嬮兘鍙互鐪嬩綔Java緙栫▼涓栫晫鐨勬伓欖旓紝瀹冧滑緹庝附鍔ㄤ漢錛屾棤瀛斾笉鍏ワ紝鏃跺埢璇辨儜鐫浣犮備篃璁告湁浜轟細璁や負榪欎簺閮藉睘浜庨浮鐨挏姣涚殑灝忎簨錛屼笉瓚蟲寕榻匡紝浣嗚璁頒綇錛氬嬁浠ユ伓灝忚屼負涔嬶紝鍕夸互鍠勫皬鑰屼笉涓恒?

]]>
JSP褰╄壊楠岃瘉鐮?/title><link>http://www.tkk7.com/luckyrobbie/archive/2006/03/27/37552.html</link><dc:creator>luckyrobbie</dc:creator><author>luckyrobbie</author><pubDate>Mon, 27 Mar 2006 02:13:00 GMT</pubDate><guid>http://www.tkk7.com/luckyrobbie/archive/2006/03/27/37552.html</guid><wfw:comment>http://www.tkk7.com/luckyrobbie/comments/37552.html</wfw:comment><comments>http://www.tkk7.com/luckyrobbie/archive/2006/03/27/37552.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/luckyrobbie/comments/commentRss/37552.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/luckyrobbie/services/trackbacks/37552.html</trackback:ping><description><![CDATA[ <div> <div> <h2> <font face="Arial" size="3">JSP褰╄壊楠岃瘉鐮?/font> </h2> <a > <u> <font face="Arial" color="#0000ff">xiaohanne</font> </u> </a> <font face="Arial"> 鍙戣〃浜?004-06-01 浣滆?xiaohanne 璇勪環:13/6 璇勮鏁?5 鐐瑰嚮鏁?5229 [</font> <a > <u> <font face="Arial" color="#0000ff">鏀惰棌</font> </u> </a> <font face="Arial">] </font> </div> <div> <div> <font face="Arial"> </font> </div> <div> <font face="Arial">鎽樿錛?br /><br /><br /><br />鏈枃Matrix姘鎬箙闀滃儚錛?/font> <a > <u> <font face="Arial" color="#0000ff">http://www.matrix.org.cn/resource/article/0/910.html</font> </u> </a> <font face="Arial"> <br />璇存槑錛氭湰鏂囧彲鑳界敱Matrix鍘熷垱錛屼篃鍙兘鐢盡atrix鐨勪細鍛樻暣鐞嗭紝鎴栬呯敱<br />Matrix鐨凜rawler鍦ㄥ叏鐞冪煡鍚岼ava鎴栬呭叾浠栨妧鏈浉鍏崇珯鐐規姄鍙栧茍姘鎬箙<br />淇濈暀闀滃儚錛孧atrix浼氫繚鐣欐墍鏈夊師鏉ョ殑鍑哄URL錛屽茍鍦ㄦ樉钁楀湴鏂逛綔鍑鴻鏄庯紝<br />濡傛灉浣犲彂瑙夊嚭澶刄RL鏈夎錛岃鑱旂郴Matrix鏀規.<br /></font> </div> </div> <div> <font face="Arial">鐢熸垚鏈?涓殢鏈烘暟瀛楀拰鏉備貢鑳屾櫙鐨勫浘鐗囷紝鏁板瓧鍜岃儗鏅鑹蹭細鏀瑰彉錛屾湇鍔″櫒绔埛鏂幫紙鐢╤istory.go(-1)涔熶細鍙橈級<br />鍘熷瀷鍙傝傾LIBABA聽聽</font> <a > <u> <font face="Arial" color="#800080">http://china.alibaba.com/member/showimage</font> </u> </a> <br /> <br /> <font face="Arial">------------浜х敓楠岃瘉鐮佸浘鐗囩殑鏂囦歡-----image.jsp-------------------------------------------<br /><br /><%@ page contentType="image/jpeg" import="java.awt.*,java.awt.image.*,java.util.*,javax.imageio.*" %><br /><%!<br />Color getRandColor(int fc,int bc){//緇欏畾鑼冨洿鑾峰緱闅忔満棰滆壊<br />聽聽聽聽聽聽聽聽Random random = new Random();<br />聽聽聽聽聽聽聽聽if(fc>255) fc=255;<br />聽聽聽聽聽聽聽聽if(bc>255) bc=255;<br />聽聽聽聽聽聽聽聽int r=fc+random.nextInt(bc-fc);<br />聽聽聽聽聽聽聽聽int g=fc+random.nextInt(bc-fc);<br />聽聽聽聽聽聽聽聽int b=fc+random.nextInt(bc-fc);<br />聽聽聽聽聽聽聽聽return new Color(r,g,b);<br />聽聽聽聽聽聽聽聽}<br />%><br /><%<br />//璁劇疆欏甸潰涓嶇紦瀛?br />response.setHeader("Pragma","No-cache");<br />response.setHeader("Cache-Control","no-cache");<br />response.setDateHeader("Expires", 0);<br /><br />// 鍦ㄥ唴瀛樹腑鍒涘緩鍥捐薄<br />int width=60, height=20;<br />BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);<br /><br />// 鑾峰彇鍥懼艦涓婁笅鏂?br />Graphics g = image.getGraphics();<br /><br />//鐢熸垚闅忔満綾?br />Random random = new Random();<br /><br />// 璁懼畾鑳屾櫙鑹?br />g.setColor(getRandColor(200,250));<br />g.fillRect(0, 0, width, height);<br /><br />//璁懼畾瀛椾綋<br />g.setFont(new Font("Times New Roman",Font.PLAIN,18));<br /><br />//鐢昏竟妗?br />//g.setColor(new Color());<br />//g.drawRect(0,0,width-1,height-1);<br /><br /><br />// 闅忔満浜х敓155鏉″共鎵扮嚎錛屼嬌鍥捐薄涓殑璁よ瘉鐮佷笉鏄撹鍏跺畠紼嬪簭鎺㈡祴鍒?br />g.setColor(getRandColor(160,200));<br />for (int i=0;i<155;i++)<br />{<br />聽聽聽聽聽聽聽聽int x = random.nextInt(width);<br />聽聽聽聽聽聽聽聽int y = random.nextInt(height);<br />聽聽聽聽聽聽聽聽int xl = random.nextInt(12);<br />聽聽聽聽聽聽聽聽int yl = random.nextInt(12);<br />聽聽聽聽聽聽聽聽g.drawLine(x,y,x+xl,y+yl);<br />}<br /><br />// 鍙栭殢鏈轟駭鐢熺殑璁よ瘉鐮?4浣嶆暟瀛?<br />String sRand="";<br />for (int i=0;i<4;i++){<br />聽聽聽聽String rand=String.valueOf(random.nextInt(10));<br />聽聽聽聽sRand+=rand;<br />聽聽聽聽// 灝嗚璇佺爜鏄劇ず鍒板浘璞′腑<br />聽聽聽聽g.setColor(new Color(20+random.nextInt(110),20+random.nextInt(110),20+random.nextInt(110)));//璋冪敤鍑芥暟鍑烘潵鐨勯鑹茬浉鍚岋紝鍙兘鏄洜涓虹瀛愬お鎺ヨ繎錛屾墍浠ュ彧鑳界洿鎺ョ敓鎴?br />聽聽聽聽g.drawString(rand,13*i+6,16);<br />}<br /><br />// 灝嗚璇佺爜瀛樺叆SESSION<br />session.setAttribute("rand",sRand);<br /><br /><br />// 鍥捐薄鐢熸晥<br />g.dispose();<br /><br />// 杈撳嚭鍥捐薄鍒伴〉闈?br />ImageIO.write(image, "JPEG", response.getOutputStream());<br /><br /><br />%> <br /><br />---------------浣跨敤楠岃瘉鐮佸浘鐗囩殑鏂囦歡---------a.jsp------------------------------------<br /><br /><%@ page contentType="text/html;charset=gb2312" %><br /><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><br /><html><br /><head><br /><title>璁よ瘉鐮佽緭鍏ラ〉闈?lt;/title><br /><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><br /><META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <br /><META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <br /><META HTTP-EQUIV="Expires" CONTENT="0"> <br /></head><br /><body><br /><form method=post action="check.jsp"><br /><table><br /><tr><br /><td align=left>緋葷粺浜х敓鐨勮璇佺爜錛?lt;/td><br /><td><img border=0 src="image.jsp"></td><br /></tr><br /><tr><br /><td align=left>杈撳叆涓婇潰鐨勮璇佺爜錛?lt;/td><br /><td><input type=text name=rand maxlength=4 value=""></td><br /></tr><br /><tr><br /><td colspan=2 align=center><input type=submit value="鎻愪氦媯嫻?></td><br /></tr><br /></form><br /></body><br /></html><br /><br />-----------------楠岃瘉鐨勯〉闈?---------check.jsp<br /><br /><%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %><br /><html><br /><head><br /><title>璁よ瘉鐮侀獙璇侀〉闈?lt;/title><br /><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><br /><META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <br /><META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <br /><META HTTP-EQUIV="Expires" CONTENT="0"> <br /></head><br /><br /><body><br /><% <br />String rand = (String)session.getAttribute("rand");<br />String input = request.getParameter("rand");<br />%><br />緋葷粺浜х敓鐨勮璇佺爜涓猴細 <%= rand %><br><br />鎮ㄨ緭鍏ョ殑璁よ瘉鐮佷負錛?<%= input %><br><br /><br><br /><%<br />聽聽if (rand.equals(input)) {<br />%><br /><font color=green>杈撳叆鐩稿悓錛岃璇佹垚鍔燂紒</font><br /><%<br />聽聽} else {<br />%><br /><font color=red>杈撳叆涓嶅悓錛岃璇佸け璐ワ紒</font><br /><%<br />聽聽}<br />%><br /></body><br /></html><br /></font> </div> </div> <img src ="http://www.tkk7.com/luckyrobbie/aggbug/37552.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/luckyrobbie/" target="_blank">luckyrobbie</a> 2006-03-27 10:13 <a href="http://www.tkk7.com/luckyrobbie/archive/2006/03/27/37552.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Databases and JDBC Drivershttp://www.tkk7.com/luckyrobbie/archive/2006/03/21/36575.htmlluckyrobbieluckyrobbieTue, 21 Mar 2006 02:55:00 GMThttp://www.tkk7.com/luckyrobbie/archive/2006/03/21/36575.htmlhttp://www.tkk7.com/luckyrobbie/comments/36575.htmlhttp://www.tkk7.com/luckyrobbie/archive/2006/03/21/36575.html#Feedback0http://www.tkk7.com/luckyrobbie/comments/commentRss/36575.htmlhttp://www.tkk7.com/luckyrobbie/services/trackbacks/36575.htmlDatabases and JDBC Drivers

This page lists the most current information about databases and some of their JDBC drivers that can be used for import data or extract XML schema from database structure features. Information about what file(s) to load in the Preferences->Database->JDBC Drivers as well as information about driver classes and URL formats are also provided. An extensive list of JDBC drivers is also available at JDBC聽section at Sun聽Microsystems.

Oracle 10.2.0.1.0: Oracle JDBC Driver 10.1.0.2.0

Files: ojdbc14.jar

Driver Class: oracle.jdbc.OracleDriver

URL: jdbc:oracle:thin:@<host>:<port1521>:<sid>

jdbc:oracle:oci:@<host>:<port1521>:<sid>

OBS: The same driver file used for both thin and OCI connections.
聽Download Driver

DB2 8.2: IBM DB2 JDBC Universal Driver 2.3.63

Files: db2jcc.jar, db2jcc_license_cu.jar

Driver Class: com.ibm.db2.jcc.DB2Driver

URL: jdbc:db2://<host>:<port50000>/<database>
聽Download Driver

SQL Server 2000 - 8.00.2039: SQL Server Driver 2.2.0040

Files: mssqlserver.jar, msbase.jar, msutil.jar

Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver

URL: jdbc:microsoft:sqlserver://<host>:<port1433>;DatabaseName=<database>
聽Download Driver

Sybase ASE 12.5.3: jConnect 6.0 Build 25308

Files: jconn3.jar

Driver Class: com.sybase.jdbc3.jdbc.SybDriver

URL: jdbc:sybase:Tds:<host>:<port2048>/<database>
聽Download Driver

Informix 9.40: Informix 2.21.JC6

Files: ifxjdbc.jar

Driver Class: com.informix.jdbc.IfxDriver

URL: jdbc:informix-sqli://<host>:<port>/<database>:informixserver=<dbservername>
聽Download Driver

MySQL 4.1.12: mysql-connector-java-3.1.8

Files: mysql-connector-java-3.1.8-bin.jar

Driver Class: com.mysql.jdbc.Driver

URL: jdbc:mysql://<host>:<port3306>/<database>
聽Download Driver

MySQL 5.0.2: mysql-connector-java-3.1.5-gamma

Files: mysql-connector-java-3.1.5-gamma-bin.jar

Driver Class: com.mysql.jdbc.Driver

URL: jdbc:mysql://<host>:<port3306>/<database>
聽Download Driver

PostgeSQL 7.4.8: PostgreSQL 7.4.4 JDBC2 with SSL

Files: pg74.215.jdbc2ee.jar

Driver Class: org.postgresql.Driver

URL: jdbc:postgresql://<host>:<port5432>/<database>
聽Download Driver

MaxDB 7.4.3: SAP DB JDBC Driver 7.4.4

Files: sapdbc.jar

Driver Class: com.sap.dbtech.jdbc.DriverSapDB

URL: jdbc:sapdb://<host>:<port>/<database>
聽Download Driver

FrontBase 3.6.21: FBJDriver 2.4.7

Files: frontbasejdbc.jar

Driver Class: com.frontbase.jdbc.FBJDriver

URL: jdbc:FrontBase://<host>:<port>/<database>
聽Download Driver

Sybase ASA 9.0.2.2452: jConnect 6.0 Build 25308

Files: jconn3.jar

Driver Class: com.sybase.jdbc3.jdbc.SybDriver

URL: jdbc:sybase:Tds:<host>:<port2638>/<database>
聽Download Driver

JDataStore 6.7.25 Embedded: DataStore Driver 6.0

Files: jdsserver.jar

Driver Class: com.borland.datastore.jdbc.DataStoreDriver

URL: jdbc:borland:dslocal:<file>
聽Download Driver

JDataStore 6.7.25 Server: DataStore Driver 6.0

Files: jdsremote.jar

Driver Class: com.borland.datastore.jdbc.DataStoreDriver

URL: jdbc:borland:dslocal:<file>
聽Download Driver

Cache 5.0 Server: InterSystems Cache JDBC 5.0

Files: CacheDB.jar

Driver Class: com.intersys.jdbc.CacheDriver

URL: jdbc:Cache://<host>:<port>/<namespace>
聽Download Driver

]]>
涓涓彇鍒癛esultSet鍚庤繑鍥濱terator鐨勪緥瀛?/title><link>http://www.tkk7.com/luckyrobbie/archive/2006/03/15/35446.html</link><dc:creator>luckyrobbie</dc:creator><author>luckyrobbie</author><pubDate>Wed, 15 Mar 2006 08:56:00 GMT</pubDate><guid>http://www.tkk7.com/luckyrobbie/archive/2006/03/15/35446.html</guid><wfw:comment>http://www.tkk7.com/luckyrobbie/comments/35446.html</wfw:comment><comments>http://www.tkk7.com/luckyrobbie/archive/2006/03/15/35446.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.tkk7.com/luckyrobbie/comments/commentRss/35446.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/luckyrobbie/services/trackbacks/35446.html</trackback:ping><description><![CDATA[<FONT face=Arial size=2>鍦↗don.com閲岄潰鐪嬪埌鐨勶紝瑙夊緱寰堝煎緱鍊熼壌<BR>鍘熸枃錛?A >http://www.jdon.com/jive/thread.jsp?forum=16&thread=302</A><BR><BR>鐪嬩笅闈㈡瘮杈冿細</FONT><BR><FONT face=Arial size=2> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG id=Codehighlighter1_23_167_Open_Image onclick="this.style.display='none'; Codehighlighter1_23_167_Open_Text.style.display='none'; Codehighlighter1_23_167_Closed_Image.style.display='inline'; Codehighlighter1_23_167_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_23_167_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_23_167_Closed_Text.style.display='none'; Codehighlighter1_23_167_Open_Image.style.display='inline'; Codehighlighter1_23_167_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> List getUsers() </SPAN><SPAN id=Codehighlighter1_23_167_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_23_167_Open_Text><SPAN style="COLOR: #000000">{ <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  ResultSet rs </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> userDbQuery();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  List retval </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> ArrayList();<BR><IMG id=Codehighlighter1_111_148_Open_Image onclick="this.style.display='none'; Codehighlighter1_111_148_Open_Text.style.display='none'; Codehighlighter1_111_148_Closed_Image.style.display='inline'; Codehighlighter1_111_148_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_111_148_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_111_148_Closed_Text.style.display='none'; Codehighlighter1_111_148_Open_Image.style.display='inline'; Codehighlighter1_111_148_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff">while</SPAN><SPAN style="COLOR: #000000"> (rs.next()) </SPAN><SPAN id=Codehighlighter1_111_148_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_111_148_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>    retval.add(rs.getString(</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">));<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>  }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000"> retval;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN></DIV>涓婇潰鏄釜鎴戜滑閲囧彇榪斿洖Collection鍚庢渶甯哥敤鐨勬柟娉曪紝灝哛esultSet涓殑鐢ㄦ埛鍚嶅姞鍏ist鍐嶈繑鍥烇紝鏄劇劧榪欏緢鑰楄垂鍐呭瓨銆?BR><BR>浣跨敤Iterator榪斿洖錛?BR></FONT><FONT face=Arial size=2> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG id=Codehighlighter1_27_631_Open_Image onclick="this.style.display='none'; Codehighlighter1_27_631_Open_Text.style.display='none'; Codehighlighter1_27_631_Closed_Image.style.display='inline'; Codehighlighter1_27_631_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_27_631_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_27_631_Closed_Text.style.display='none'; Codehighlighter1_27_631_Open_Image.style.display='inline'; Codehighlighter1_27_631_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> Iterator getUsers() </SPAN><SPAN id=Codehighlighter1_27_631_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_27_631_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff">final</SPAN><SPAN style="COLOR: #000000"> ResultSet rs </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> userDbQuery();<BR><IMG id=Codehighlighter1_93_629_Open_Image onclick="this.style.display='none'; Codehighlighter1_93_629_Open_Text.style.display='none'; Codehighlighter1_93_629_Closed_Image.style.display='inline'; Codehighlighter1_93_629_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_93_629_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_93_629_Closed_Text.style.display='none'; Codehighlighter1_93_629_Open_Image.style.display='inline'; Codehighlighter1_93_629_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> Iterator() </SPAN><SPAN id=Codehighlighter1_93_629_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_93_629_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>      </SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> Object next;<BR><IMG id=Codehighlighter1_150_320_Open_Image onclick="this.style.display='none'; Codehighlighter1_150_320_Open_Text.style.display='none'; Codehighlighter1_150_320_Closed_Image.style.display='inline'; Codehighlighter1_150_320_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_150_320_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_150_320_Closed_Text.style.display='none'; Codehighlighter1_150_320_Open_Image.style.display='inline'; Codehighlighter1_150_320_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>      </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> hasNext() </SPAN><SPAN id=Codehighlighter1_150_320_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_150_320_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG id=Codehighlighter1_178_291_Open_Image onclick="this.style.display='none'; Codehighlighter1_178_291_Open_Text.style.display='none'; Codehighlighter1_178_291_Closed_Image.style.display='inline'; Codehighlighter1_178_291_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_178_291_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_178_291_Closed_Text.style.display='none'; Codehighlighter1_178_291_Open_Image.style.display='inline'; Codehighlighter1_178_291_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"> (next </SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">) </SPAN><SPAN id=Codehighlighter1_178_291_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_178_291_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG id=Codehighlighter1_207_246_Open_Image onclick="this.style.display='none'; Codehighlighter1_207_246_Open_Text.style.display='none'; Codehighlighter1_207_246_Closed_Image.style.display='inline'; Codehighlighter1_207_246_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_207_246_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_207_246_Closed_Text.style.display='none'; Codehighlighter1_207_246_Open_Image.style.display='inline'; Codehighlighter1_207_246_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>          </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"> (</SPAN><SPAN style="COLOR: #000000">!</SPAN><SPAN style="COLOR: #000000"> rs.next()) </SPAN><SPAN id=Codehighlighter1_207_246_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_207_246_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">false</SPAN><SPAN style="COLOR: #000000">; <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>          }</SPAN></SPAN><SPAN style="COLOR: #000000"> <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>          next </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> rs.getString(</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">true</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>      }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG id=Codehighlighter1_350_515_Open_Image onclick="this.style.display='none'; Codehighlighter1_350_515_Open_Text.style.display='none'; Codehighlighter1_350_515_Closed_Image.style.display='inline'; Codehighlighter1_350_515_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_350_515_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_350_515_Closed_Text.style.display='none'; Codehighlighter1_350_515_Open_Image.style.display='inline'; Codehighlighter1_350_515_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>      </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> Object next() </SPAN><SPAN id=Codehighlighter1_350_515_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_350_515_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG id=Codehighlighter1_377_433_Open_Image onclick="this.style.display='none'; Codehighlighter1_377_433_Open_Text.style.display='none'; Codehighlighter1_377_433_Closed_Image.style.display='inline'; Codehighlighter1_377_433_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_377_433_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_377_433_Closed_Text.style.display='none'; Codehighlighter1_377_433_Open_Image.style.display='inline'; Codehighlighter1_377_433_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"> (</SPAN><SPAN style="COLOR: #000000">!</SPAN><SPAN style="COLOR: #000000"> hasNext()) </SPAN><SPAN id=Codehighlighter1_377_433_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_377_433_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>          </SPAN><SPAN style="COLOR: #0000ff">throw</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> NoSuchElementException();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>        String retval </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> next;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>        next </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000"> retval;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>      }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG id=Codehighlighter1_545_624_Open_Image onclick="this.style.display='none'; Codehighlighter1_545_624_Open_Text.style.display='none'; Codehighlighter1_545_624_Closed_Image.style.display='inline'; Codehighlighter1_545_624_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_545_624_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_545_624_Closed_Text.style.display='none'; Codehighlighter1_545_624_Open_Image.style.display='inline'; Codehighlighter1_545_624_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>      </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> remove() </SPAN><SPAN id=Codehighlighter1_545_624_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_545_624_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">throw</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> UnsupportedOperationException (</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">no remove allowed</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>      }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>   }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV>榪欎釜Javabean鍙槸鍋氫簡涓涓寚閽堜紶閫掍綔鐢紝灝嗚皟鐢ㄦ湰Javabean鐨勬寚閽堜紶閫掑埌ResultSet,榪欐牱鏃㈡彁楂樹簡鏁堢巼錛岃妭綰︿簡鍐呭瓨錛屽張闄嶄綆浜嗗伓鍚堟э紝榪欐槸鍫О涓棿浠跺吀鍨嬬殑紺鴻寖銆?/FONT><BR><BR><img src ="http://www.tkk7.com/luckyrobbie/aggbug/35446.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/luckyrobbie/" target="_blank">luckyrobbie</a> 2006-03-15 16:56 <a href="http://www.tkk7.com/luckyrobbie/archive/2006/03/15/35446.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://tzkanglong.com" target="_blank">亚洲日本VA午夜在线电影</a>| <a href="http://www50884.com" target="_blank">亚洲av永久无码制服河南实里</a>| <a href="http://liexion.com" target="_blank">亚洲高清美女一区二区三区</a>| <a href="http://cih60o.com" target="_blank">99麻豆久久久国产精品免费 </a>| <a href="http://abc17171.com" target="_blank">亚洲阿v天堂在线</a>| <a href="http://zblinghang.com" target="_blank">国产免费A∨在线播放</a>| <a href="http://www42iii.com" target="_blank">在线亚洲精品福利网址导航</a>| <a href="http://yongfu-sh.com" target="_blank">中文字幕不卡免费高清视频</a>| <a href="http://xjtuykw.com" target="_blank">亚洲人成中文字幕在线观看</a>| <a href="http://pyjxyey.com" target="_blank">免费精品99久久国产综合精品</a>| <a href="http://m8va.com" target="_blank">亚洲天天在线日亚洲洲精</a>| <a href="http://lyczyb.com" target="_blank">精品国产免费人成电影在线观看 </a>| <a href="http://nzzys.com" target="_blank">亚洲日韩激情无码一区</a>| <a href="http://www-533999.com" target="_blank">精品国产免费一区二区三区</a>| <a href="http://hivzx.com" target="_blank">亚洲国产精品成人精品无码区</a>| <a href="http://0551dfcy.com" target="_blank">久久午夜免费鲁丝片</a>| <a href="http://shcxsoft.com" target="_blank">亚洲国产精品成人精品小说</a>| <a href="http://9988u.com" target="_blank">成人av免费电影</a>| <a href="http://121fj.com" target="_blank">人体大胆做受免费视频</a>| <a href="http://818812.com" target="_blank">亚洲国产第一站精品蜜芽</a>| <a href="http://hyhtzh.com" target="_blank">亚欧色视频在线观看免费</a>| <a href="http://777cc55.com" target="_blank">在线综合亚洲欧洲综合网站</a>| <a href="http://5gg1.com" target="_blank">亚洲AV无码一区二区三区在线观看 </a>| <a href="http://dazngt.com" target="_blank">久久精品国产亚洲αv忘忧草</a>| <a href="http://228609.com" target="_blank">日韩精品免费电影</a>| <a href="http://cqtjqcc.com" target="_blank">jyzzjyzz国产免费观看</a>| <a href="http://zhuguangbaoyu.com" target="_blank">久久久久亚洲精品成人网小说</a>| <a href="http://ganbadei.com" target="_blank">亚洲免费观看在线视频</a>| <a href="http://10242016.com" target="_blank">亚洲成a人片在线观看天堂无码 </a>| <a href="http://slmlxg.com" target="_blank">亚洲一区日韩高清中文字幕亚洲</a>| <a href="http://777mecom.com" target="_blank">a级毛片免费观看视频</a>| <a href="http://0149545.com" target="_blank">亚洲成A∨人片在线观看无码</a>| <a href="http://dxj588.com" target="_blank">成人永久免费高清</a>| <a href="http://hljc988.com" target="_blank">免费无码又爽又刺激网站</a>| <a href="http://8xjr.com" target="_blank">456亚洲人成在线播放网站</a>| <a href="http://wwwpaogou123.com" target="_blank">亚洲av中文无码</a>| <a href="http://dstbxg.com" target="_blank">亚洲一级毛片免费在线观看</a>| <a href="http://xass1.com" target="_blank">免费大片av手机看片</a>| <a href="http://maomi02.com" target="_blank">亚洲精品在线免费观看</a>| <a href="http://zhidianzh.com" target="_blank">婷婷亚洲天堂影院</a>| <a href="http://222941.com" target="_blank">最近中文字幕大全中文字幕免费</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>