锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品福利在线观看网址,亚洲免费av一区二区,久久99精品国产http://www.aygfsteel.com/jorwen/category/7237.htmlzh-cnWed, 28 Feb 2007 11:42:51 GMTWed, 28 Feb 2007 11:42:51 GMT60鐢?Java 淇濆瓨浣嶅浘鏂囦歡http://www.aygfsteel.com/jorwen/articles/29422.html鏂逛匠鐜?/dc:creator>鏂逛匠鐜?/author>Wed, 01 Feb 2006 04:27:00 GMThttp://www.aygfsteel.com/jorwen/articles/29422.htmlhttp://www.aygfsteel.com/jorwen/comments/29422.htmlhttp://www.aygfsteel.com/jorwen/articles/29422.html#Feedback0http://www.aygfsteel.com/jorwen/comments/commentRss/29422.htmlhttp://www.aygfsteel.com/jorwen/services/trackbacks/29422.html闃呰鍏ㄦ枃

]]>
Java涓埄鐢↗MF緙栧啓鎽勫儚澶存媿鐓х▼搴?/title><link>http://www.aygfsteel.com/jorwen/articles/29421.html</link><dc:creator>鏂逛匠鐜?/dc:creator><author>鏂逛匠鐜?/author><pubDate>Wed, 01 Feb 2006 04:24:00 GMT</pubDate><guid>http://www.aygfsteel.com/jorwen/articles/29421.html</guid><wfw:comment>http://www.aygfsteel.com/jorwen/comments/29421.html</wfw:comment><comments>http://www.aygfsteel.com/jorwen/articles/29421.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/jorwen/comments/commentRss/29421.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/jorwen/services/trackbacks/29421.html</trackback:ping><description><![CDATA[<span id="wmqeeuq" class=pg id=xydwtext><SPAN id=ArticleContent1_ArticleContent1_lblContent>棣栧厛鍒癝UN涓嬭澆鏈鏂扮殑JMF錛岀劧鍚庡畨瑁呫俬ttp://java.sun.com/products/java-media/jmf/index.jsp<BR><BR>銆銆鐒跺悗錛岃涓涓嬮渶姹?BR><BR>銆銆1錛?鐢ㄦ憚鍍忓ご鎷嶇収<BR><BR>銆銆2錛?鍦ㄦ枃鏈杈撳叆鏂囦歡鍚?BR><BR>銆銆3錛?鎸変笅鎷嶇収鎸夐挳錛岃幏鍙栨憚鍍忓ご鍐呯殑鍥懼儚<BR><BR>銆銆4錛?鍦ㄦ媿涓嬬殑鐓х墖涓婃湁涓綰㈡鎴彇鍥哄畾澶у皬鐨勭収鐗囥?BR><BR>銆銆5錛?淇濆瓨涓烘湰鍦板浘鍍忎負jpg鏍煎紡錛屼笉寰楀帇緙╃敾璐?BR><BR>銆銆鎶鏈叧閿紝鐩鎬俊涔熸槸澶у鏈鎰熷叴瓚g殑閮ㄥ垎涔熷氨鏄浣曡涓涓憚鍍忓ご宸ヤ綔錛屽茍鎷嶄笅涓寮犵収鐗囦簡銆?BR><BR>銆銆鍒╃敤JMF錛屼唬鐮佸緢綆鍗曪細<BR><BR> <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 src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">鍒╃敤榪欎笁涓被鍒嗗埆鑾峰彇鎽勫儚澶撮┍鍔紝鍜岃幏鍙栨憚鍍忓ご鍐呯殑鍥懼儚嫻侊紝鑾峰彇鍒扮殑鍥懼儚嫻佹槸涓涓猄wing鐨凜omponent緇勪歡綾?/SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">static</SPAN><SPAN style="COLOR: #000000"> Player player </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.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> CaptureDeviceInfo di </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.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> MediaLocator ml </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.aygfsteel.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">鏂囨。涓彁渚涚殑椹卞姩鍐欐硶錛屼負浣曡繖涔堝啓鎴戜篃涓嶇煡錛氾級</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>String str1 </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">vfw:Logitech USB Video Camera:0</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>String str2 </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">vfw:Microsoft WDM Image Capture (Win32):0</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">; <BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>di </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> CaptureDeviceManager.getDevice(str2);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>ml </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> di.getLocator();<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">try</SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_370_540_Open_Image onclick="this.style.display='none'; Codehighlighter1_370_540_Open_Text.style.display='none'; Codehighlighter1_370_540_Closed_Image.style.display='inline'; Codehighlighter1_370_540_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_370_540_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_370_540_Closed_Text.style.display='none'; Codehighlighter1_370_540_Open_Image.style.display='inline'; Codehighlighter1_370_540_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_370_540_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.aygfsteel.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_370_540_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆player </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> Manager.createRealizedPlayer(ml);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆player.start();<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆Component comp;<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"> ((comp </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> player.getVisualComponent()) </SPAN><SPAN style="COLOR: #000000">!=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">)<BR><IMG id=Codehighlighter1_502_538_Open_Image onclick="this.style.display='none'; Codehighlighter1_502_538_Open_Text.style.display='none'; Codehighlighter1_502_538_Closed_Image.style.display='inline'; Codehighlighter1_502_538_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_502_538_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_502_538_Closed_Text.style.display='none'; Codehighlighter1_502_538_Open_Image.style.display='inline'; Codehighlighter1_502_538_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>銆</SPAN><SPAN id=Codehighlighter1_502_538_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.aygfsteel.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_502_538_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆銆add(comp, BorderLayout.NORTH);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>銆}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">catch</SPAN><SPAN style="COLOR: #000000"> (Exception e)<BR><IMG id=Codehighlighter1_562_586_Open_Image onclick="this.style.display='none'; Codehighlighter1_562_586_Open_Text.style.display='none'; Codehighlighter1_562_586_Closed_Image.style.display='inline'; Codehighlighter1_562_586_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_562_586_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_562_586_Closed_Text.style.display='none'; Codehighlighter1_562_586_Open_Image.style.display='inline'; Codehighlighter1_562_586_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_562_586_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.aygfsteel.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_562_586_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆e.printStackTrace();<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"> <BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>銆銆鎺ヤ笅鏉ュ氨鏄偣鍑繪媿鐓э紝鑾峰彇鎽勫儚澶村唴鐨勫綋鍓嶅浘鍍忋?BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>銆銆浠g爜涔熸槸寰堢畝鍗曪細<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> JButton capture;<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> Buffer buf </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.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> BufferToImage btoi </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.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> ImagePanel imgpanel </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.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> Image img </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.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> ImagePanel imgpanel </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.aygfsteel.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>JComponent c </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> (JComponent) e.getSource();<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"> (c </SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000"> capture)</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">濡傛灉鎸変笅鐨勬槸鎷嶇収鎸夐挳 </SPAN><SPAN style="COLOR: #008000"><BR><IMG id=Codehighlighter1_888_1180_Open_Image onclick="this.style.display='none'; Codehighlighter1_888_1180_Open_Text.style.display='none'; Codehighlighter1_888_1180_Closed_Image.style.display='inline'; Codehighlighter1_888_1180_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_888_1180_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_888_1180_Closed_Text.style.display='none'; Codehighlighter1_888_1180_Open_Image.style.display='inline'; Codehighlighter1_888_1180_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_888_1180_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.aygfsteel.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_888_1180_Open_Text><SPAN style="COLOR: #000000">{ <BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆FrameGrabbingControl fgc </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">(FrameGrabbingControl) 銆player.getControl(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">javax.media.control.FrameGrabbingControl</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆buf </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> fgc.grabFrame(); </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000"> 鑾峰彇褰撳墠紲茍瀛樺叆Buffer綾?/SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">銆btoi </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> BufferToImage((VideoFormat) buf.getFormat());<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆img </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> btoi.createImage(buf); </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000"> show the image </SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">銆imgpanel.setImage(img);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"> <BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>銆銆淇濆瓨鍥懼儚鐨勫氨涓嶅璇翠簡錛屼互涓嬩負紺轟緥浠g爜<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>BufferedImage bi </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> (BufferedImage) createImage(imgWidth, imgHeight);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>Graphics2D g2 </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> bi.createGraphics();<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>g2.drawImage(img, </SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">, </SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>FileOutputStream out </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.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">try</SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_1376_1410_Open_Image onclick="this.style.display='none'; Codehighlighter1_1376_1410_Open_Text.style.display='none'; Codehighlighter1_1376_1410_Closed_Image.style.display='inline'; Codehighlighter1_1376_1410_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_1376_1410_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1376_1410_Closed_Text.style.display='none'; Codehighlighter1_1376_1410_Open_Image.style.display='inline'; Codehighlighter1_1376_1410_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_1376_1410_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.aygfsteel.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1376_1410_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆out </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> FileOutputStream(s);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">catch</SPAN><SPAN style="COLOR: #000000"> (java.io.FileNotFoundException io)<BR><IMG id=Codehighlighter1_1453_1494_Open_Image onclick="this.style.display='none'; Codehighlighter1_1453_1494_Open_Text.style.display='none'; Codehighlighter1_1453_1494_Closed_Image.style.display='inline'; Codehighlighter1_1453_1494_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_1453_1494_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1453_1494_Closed_Text.style.display='none'; Codehighlighter1_1453_1494_Open_Image.style.display='inline'; Codehighlighter1_1453_1494_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_1453_1494_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.aygfsteel.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1453_1494_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆System.out.println(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">File Not Found</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>JPEGImageEncoder encoder </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> JPEGCodec.createJPEGEncoder(out);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>JPEGEncodeParam param </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> encoder.getDefaultJPEGEncodeParam(bi);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top>param.setQuality(1f, </SPAN><SPAN style="COLOR: #0000ff">false</SPAN><SPAN style="COLOR: #000000">);</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">涓嶅帇緙╁浘鍍?/SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">encoder.setJPEGEncodeParam(param);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">try</SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_1696_1733_Open_Image onclick="this.style.display='none'; Codehighlighter1_1696_1733_Open_Text.style.display='none'; Codehighlighter1_1696_1733_Closed_Image.style.display='inline'; Codehighlighter1_1696_1733_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_1696_1733_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1696_1733_Closed_Text.style.display='none'; Codehighlighter1_1696_1733_Open_Image.style.display='inline'; Codehighlighter1_1696_1733_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_1696_1733_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.aygfsteel.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1696_1733_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆encoder.encode(bi);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆out.close();<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">catch</SPAN><SPAN style="COLOR: #000000"> (java.io.IOException io)<BR><IMG id=Codehighlighter1_1766_1804_Open_Image onclick="this.style.display='none'; Codehighlighter1_1766_1804_Open_Text.style.display='none'; Codehighlighter1_1766_1804_Closed_Image.style.display='inline'; Codehighlighter1_1766_1804_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_1766_1804_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1766_1804_Closed_Text.style.display='none'; Codehighlighter1_1766_1804_Open_Image.style.display='inline'; Codehighlighter1_1766_1804_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_1766_1804_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.aygfsteel.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1766_1804_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align=top>銆System.out.println(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">IOException</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"> <BR><IMG src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV></SPAN></SPAN><img src ="http://www.aygfsteel.com/jorwen/aggbug/29421.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/jorwen/" target="_blank">鏂逛匠鐜?/a> 2006-02-01 12:24 <a href="http://www.aygfsteel.com/jorwen/articles/29421.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">民勤县</a>| <a href="http://" target="_blank">乌什县</a>| <a href="http://" target="_blank">吉水县</a>| <a href="http://" target="_blank">通州区</a>| <a href="http://" target="_blank">元阳县</a>| <a href="http://" target="_blank">皋兰县</a>| <a href="http://" target="_blank">红桥区</a>| <a href="http://" target="_blank">高台县</a>| <a href="http://" target="_blank">客服</a>| <a href="http://" target="_blank">尼木县</a>| <a href="http://" target="_blank">镇沅</a>| <a href="http://" target="_blank">壤塘县</a>| <a href="http://" target="_blank">偃师市</a>| <a href="http://" target="_blank">砀山县</a>| <a href="http://" target="_blank">读书</a>| <a href="http://" target="_blank">新疆</a>| <a href="http://" target="_blank">阜新</a>| <a href="http://" target="_blank">香格里拉县</a>| <a href="http://" target="_blank">贵德县</a>| <a href="http://" target="_blank">株洲市</a>| <a href="http://" target="_blank">大宁县</a>| <a href="http://" target="_blank">湘潭县</a>| <a href="http://" target="_blank">黑河市</a>| <a href="http://" target="_blank">阳山县</a>| <a href="http://" target="_blank">温泉县</a>| <a href="http://" target="_blank">石城县</a>| <a href="http://" target="_blank">惠州市</a>| <a href="http://" target="_blank">宣化县</a>| <a href="http://" target="_blank">龙泉市</a>| <a href="http://" target="_blank">龙川县</a>| <a href="http://" target="_blank">上林县</a>| <a href="http://" target="_blank">宣威市</a>| <a href="http://" target="_blank">青神县</a>| <a href="http://" target="_blank">瑞丽市</a>| <a href="http://" target="_blank">马关县</a>| <a href="http://" target="_blank">聂荣县</a>| <a href="http://" target="_blank">宜章县</a>| <a href="http://" target="_blank">临澧县</a>| <a href="http://" target="_blank">萝北县</a>| <a href="http://" target="_blank">陈巴尔虎旗</a>| <a href="http://" 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>