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();
}
}
}
}
Ïà¹ØÎĵµ£º
ÀàµÄ³õʼ»¯ºÍ¶ÔÏó³õʼ»¯ÊÇ JVM ¹ÜÀíµÄÀàÐÍÉúÃüÖÜÆÚÖзdz£ÖØÒªµÄÁ½¸ö»·½Ú£¬Google ÁËÒ»±éÍøÂ磬ÓйØÀà×°ÔØ»úÖƵÄÎÄÕµ¹ÊDz»ÉÙ£¬È»¶øÀà³õʼ»¯ºÍ¶ÔÏó³õʼ»¯µÄÎÄÕ²¢²»¶à£¬ÌرðÊÇ´Ó×Ö½ÚÂëºÍ JVM ²ã´ÎÀ´·ÖÎöµÄÎÄÕ¸üÊÇÏÊÓÐËù¼û¡£
±¾ÎÄÖ÷Òª¶ÔÀàºÍ¶ÔÏó³õʼ»¯È«¹ý³Ì½øÐзÖÎö£¬Í¨¹ýÒ»¸öʵ¼ÊÎÊÌâÒýÈ룬½«Ô´´úÂëת»»³É JVM ×Ö½ÚÂëºó£¬ ......
/*
ÌṩzipÎļþµÄ½âѹËõ½Ó¿Ú£º
AdapterZipFile£º
ÊäÈ룺zipFileName£¨zipÎļþµÄ¾ø¶Ô·¾¶£©£¬outputDirectory£¨zipÎļþ½âѹËõºóµÄ´æ·Å·¾¶£©
Êä³ö£º
˵Ã÷£º³õʼ»¯º¯Êý
unZipFile£º
ÊäÈ룺ÎÞ
Êä³ö£º
˵Ã÷£º½âѹËõzipÎļþ£¬½âѹËõ ......
Óà Groovy ±àд¸üÉٵĴúÂ룬Íê³É¸ü¶àµÄ¹¤×÷
¼¶±ð£º ³õ¼¶
Scott Davis , ´´Ê¼ÈË, ThirstyHead.com
2009 Äê 3 ÔÂ 09 ÈÕ
Groovy ר¼Ò Scott Davis ½«ÖØпªÊ¼×«Ð´ ʵս Groovy ϵÁÐÎÄÕ£¬¸ÃϵÁÐÎÄÕÂÓÚ 2006 ÄêÍ£Ö¹±àд¡£×÷Ϊ¿ªÆªÎÄÕ£¬±¾ÎĽ«½éÉÜ Groovy ×î½üµÄ·¢Õ¹ÒÔ¼° Groovy µ±Ç°µÄ״̬¡£È»ºóÁ˽ⴠ......
²½ÖèÒ»£ºµ¼ÈëEMFµÄ²å¼þµ½Ïà¹ØµÄĿ¼ÏÂ(plugins¡¢features)
²½Öè¶þ£ºÐ½¨EMF Project¡£<!--more-->
²½ÖèÈý£ºÊäÈëÉú³É¹¤³ÌµÄÃû³Æ
µÚËIJ½£ºµ¼ÈëXSD£¬²¢ÇÒÐÞ¸ÄÏàÓ¦µÄÃû³Æ£º
µÚÎå²½£ºµã»÷finish,ÅäÖÃecoreÏà¹ØµÄÊôÐÔ,µã»÷±£´æ
µÚÁù²½£ºÅäÖÃgenmodelµÄÏà¹ØÊôÐÔ
Ñ¡ÖÐËüµÄ¸ùĿ¼£º
ÎÒÃÇÐè ......
JNI(Java+Native+Interface£¬Java±¾µØ½Ó¿Ú)¼¼Êõ´ó¼Ò¶¼²»Ä°Éú£¬Ëü¿ÉÒÔ°ïÖú½â¾öJava·ÃÎʵײãÓ²¼þµÄ¾ÖÏÞºÍÖ´ÐÐЧÂʵÄÌá¸ß¡£¹ØÓÚJNIµÄ¿ª·¢£¬´ó¶àÊý×ÊÁÏÌÖÂ۵Ķ¼ÊÇÈçºÎÓÃC/C++ÓïÑÔ¿ª·¢JNI£¬ÉõÖÁÓÚJDKÒ²ÌṩÁËÒ»¸öjavah¹¤¾ßÀ´×Ô¶¯Éú³ÉCÓïÑÔ³ÌÐò¿ò¼Ü¡£µ«ÊÇ£¬¶ÔÓÚ¹ã´óµÄDelphi³ÌÐòÔ±À´Ëµ£¬ÄѵÀ¾Í²»ÄÜÓÃ×Ô¼ºÏ²°®µÄDelphiÓëJava»¥Í¨Ïû ......