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();
}
}
}
}
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
Òý×Ô:http://news.csdn.net/a/20090623/212109.html
¡¾CSDN6ÔÂ23ÈÕÏûÏ¢¡¿¸ù¾Ý¹úÍâýÌ屨µÀ£¬¿¨ÄÍ»ù÷¡´óѧ¼ÆËã»úϵµÄÑо¿ÈËÔ±ÈÕǰ¿ª·¢ÁËÁ½¿î¹¤¾ßÓÃÓÚ°ïÖú³ÌÐòÔ±´Ó³ÉǧÉÏÍòµÄJava APIÖÐÑ¡ÔñºÏÊʵÄAPI¡£
ÕâÁ½¿î¹¤¾ßµÄÃû×Ö·Ö±ðÊÇJadeiteºÍApatite¡£ËüÃÇÀûÓÃÁËÒÔÈËΪÖÐÐĵÄÉè¼Æ¼¼Êõ£¬´Ó¶ø´ó´óËõ¶ÌÁËËÑѰºÏÊʵÄÀ ......
ÓÐЩʱºò,ÎÒÃÇÏëÔÚµ±Ç°µÄÈÕÆÚÉϼӼ¸Ìì¡¢¼¸¸öÔ£¬»ò¼¸Ä꣬ʹÓÃjava.util.Date£¬È´×ÜÒ²ÕÒ²»µ½ºÏÊʵķ½·¨£¬ÎÞÄÎ֮ϣ¬ÇëÒ»¸ö¸ßÈ˰ïæ£¬ÀÏÁõ¸øÁËÒ»¾ä»°£ºÊ¹ÓÃCanlender¡£Ö®ºó£¬ÎÒ¾ÍʹÓÃCalender£¬Ò»Ó㬻¹ÕæºÃÓ㬾Íд³öÀ´£¬ºÍ´ó¼Ò¹²Í¬·ÖÏí£º
² ÎÒµÄÐèÇó
ÎÒÔÚ×÷Ò»¸öµ÷²éÎÊ¾í£¬ÏëÉ趨ÎʾíµÄÓÐЧÌìÊý£ºÔÚ·¢²¼Ö ......
public class FilePath {
public void Print() {
String a = this.getClass().getClassLoader().getResource(".").getPath();
String b = this.getClass().getResource("").getPath();
String c = this.getClass().getResource(" ").getPath();
&n ......