Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java±à³ÌÎļþ¿½±´

import java.io.FileInputStream;
public class FileCopy{
      public static void main(String[] args){
                  try{
                         FileInputStream fis =new FileInputstream("c:\\wenjian.txt");//ÐèÒª×Ô¼ºÔÚcÅ̸ùĿ¼Ï½¨Á¢¸ÃÎļþ
                         FileOutputStream fos=new FileOutputStream("c:\\test.txt");//ÐèÒª×Ô¼ºÔÚcÅ̸ùĿ¼Ï½¨Á¢¸ÃÎļþ
                         int x=fis.read();//¶ÁÈ¡Îļþwenjian.txtÖеÄÄÚÈÝ
                         while(x!=-1){
                            fos.write(x);//дµ½Îļþtest.txtÖÐ
                            x=fis.read();//¶ÁÏÂÒ»¸ö×Ö·û
}
System.out.println("Copy success!");
catch(Exception e){
e.printStackTrace();
}
}
}
}


Ïà¹ØÎĵµ£º

javaʹÓÃrocksawºÍvserv tcpipʵÏÖ»ùÓÚICMPµÄPing¹¦ÄÜ

Ò»£º×¼±¸ www.savarese.org download
 1.  rocksaw-1.0.0-src.tar.gz
 2.  vserv-tcpip-0.9.2-src.tar.gz
¶þ£º±àÒëÔ´ÎļþµÃµ½jar°ü ʹÓÃAnt
 1.  build vserv-tcpip-0.9.2-src
      ÔÚvserv-tcpip-0.9.2Ŀ¼ÏÂÃæ½¨Ò»¸ötestsĿ¼£¬È»ºóÔÚcmd´°¿ÚϽøÈë ......

jnlp£¨JavaÍøÂç¼ÓÔØÐ­Ò飩ԭÀ´ºÜ¼òµ¥

Java Network Launching Protocol (JNLP£¬javaÍøÂç¼ÓÔØÐ­Òé)¡£
jnlpÊÇʲô£¿ÊÇjavaÌṩµÄÒ»ÖÖÈÃÄã¿ÉÒÔͨ¹ýä¯ÀÀÆ÷Ö±½ÓÖ´ÐÐjavaÓ¦ÓóÌÐòµÄ;¾¶£¬ËüʹÄã¿ÉÒÔÖ±½Óͨ¹ýÒ»¸öÍøÒ³ÉϵÄurlÁ¬½Ó´ò¿ªÒ»¸öjavaÓ¦ÓóÌÐò£®ºÃ´¦¾Í²»ÓÃ˵ÁË£¬Èç¹ûÄãµÄjavaÓ¦ÓóÌÐòÒÔjnlp µÄ·½Ê½·¢²¼£¬Èç¹û°æ±¾Éý¼¶ºó£¬²»ÐèÒªÔÙÏòËùÓÐÓû§·¢²¼°æ±¾£¬Ö»ÐèÒª¸ü ......

¡¾×ª¡¿ÊµÕ½ Groovy: Groovy£ºJava ³ÌÐòÔ±µÄ DSL


Óà Groovy ±àд¸üÉٵĴúÂ룬Íê³É¸ü¶àµÄ¹¤×÷



 
¼¶±ð£º ³õ¼¶
Scott Davis , ´´Ê¼ÈË, ThirstyHead.com
2009 Äê 3 ÔÂ 09 ÈÕ
Groovy ר¼Ò Scott Davis ½«ÖØÐ¿ªÊ¼×«Ð´ ʵս Groovy ϵÁÐÎÄÕ£¬¸ÃϵÁÐÎÄÕÂÓÚ 2006 ÄêÍ£Ö¹±àд¡£×÷Ϊ¿ªÆªÎÄÕ£¬±¾ÎĽ«½éÉÜ Groovy ×î½üµÄ·¢Õ¹ÒÔ¼° Groovy µ±Ç°µÄ״̬¡£È»ºóÁ˽ⴠ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ