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

javaÖÐÈçºÎ°ÑÒ»¸öĿ¼ÏµÄÎļþÒƵ½ÁíÒ»¸öÖ¸¶¨Ä¿Â¼ÖÐ

 import java.io.*;
public class FileToFile
{
 public static void main(String[] args)
 {
   File fold = new File("e:\\java\\file.java");//ij·¾¶ÏµÄÎļþ
   String strNewPath = "e:\\java\\new file\\";//з¾¶
   File fnewpath = new File(strNewPath);
   if(!fnewpath.exists())
     fnewpath.mkdirs();
   File fnew = new File(strNewPath+fold.getName());
   fold.renameTo(fnew);
 }
}


Ïà¹ØÎĵµ£º

JavaѧϰÊé¼®ÍƼö

1¡¢JavaSEµÄѧϰÊé¼®
Ó¢ÎÄÃû£º¡¶Thinking in Java¡·
ÖÐÎÄÃû£º¡¶Java±à³Ì˼Ïë¡·
ͼ  Ƭ£º  
×÷  ÕߣºBruce Eckel
³ö°æÉ磺»úе¹¤Òµ³ö°æÉç
ÔĶÁ·½·¨£ºÕâ±¾Êé²¢²»ÊʺÏÒ»µã»ù´¡¶¼Ã»ÓеÄͬѧ½øÐÐÔĶÁ£¬Ç¿ÁÒ½¨ÒéѧµÄJavaSE¡£
 È»ºó¿ÉÒÔÖ±½ÓѧϰJavaWEBµÄÄÚÈÝÁË£¬µ«ÊÇÈç¹ûÏ뱸һ±¾ÊéÔÚÊֱ߱¸²éµÄ ......

ʹÓÃjava + oracle²åÈëclobÀàÐ͵ÄÊý¾Ý

 Ê¹ÓÃjava + oracle²åÈëclobÀàÐ͵ÄÊý¾Ý£¬ÐèÒªÓÃÒÔϵIJ½Ö裺
1¡¢½«Êý¾Ý²åÈëÊý¾Ý¿â£¬¶ÔÓÚclob×ֶΣ¬Ê¹ÆäΪ¿ÕclobÊý¾Ý¡£ÀýÈ磺insert into test values(1,empty_clob())";
2¡¢´ÓÊý¾Ý¿âÖÐÈ¡³ö²åÈëµÄclob×ֶΣ¬²¢½«Æ丳ֵ¸øoracle.sql.clobÀàÐ͵ıäÁ¿¡£ÀýÈç
String sqll="select content from test where id=1 for upda ......

̸̸IBM2009У԰ÕÐƸJava±ÊÊÔÌâ

 Ö»ËµËµ¼¸µÀÉæ¼°µ½ÎÒÓÐЩÒÅÍüµÄ֪ʶµãµÄÌâÄ¿°É¡«¡«
1. ¹ØÓÚfinalµÄ
Ò»ÏÂÄļ¸ÖÖÉùÃ÷ÊÇÕýÈ·µÄ£¿
A: private final int FINAL_INTEGER = 0;
B: private final int FINAL_INTEGER;
{
FINAL_INTEGER = 1;
}
C: private final int FINAL_INTEGER;
static{
FINAL_INTEGER = 1;
}
D: private final int FINA ......

Java¼àÌýÆ÷ѧϰ ͳ¼Æµ±Ç°ÔÚÏßÈËÊý

 javax.servlet.http.HttpSession Õâ¸öÀàÊǺܳ£Óõģ¬Ã¿µ±ÎÒÃÇä¯ÀÀÍøÕ¾£¬²»ÂÛÓÐûÓеǽ£¬¶¼»á²úÉú1¸ösession£¬Ëü¼Ç¼Á˺Íä¯ÀÀÕßÏà¹ØµÄÊý¾Ý£»
ÏÂÃæ½éÉÜsessionµÄ2¸ö¼àÌýÆ÷½Ó¿Ú£º
1£©javax.servlet.http.HttpSessionBindingListener;
ʵÏÖÕâ¸ö½Ó¿ÚµÄÀ࣬ÿµ±±»´æ·Åµ½session»ò´ÓsessionÖÐÒƳý¶¼»á³ö·¢½Ó¿ÚÖÐÏàÓ¦µ ......

Axis2 java WebServices¿ª·¢ÈýPOJO

»·¾³JDK1.5
Eclipse 3.2
Ö±½ÓÉÏ´úÂ룺Èç¹ûûÓÐÅäÖúû·¾³Çë²Î¿´Ç°Á½ÆªÈÕÖ¾
·þÎñÆ÷¶Ë´úÂë
UserÀࣺ
/*
*Class User.java
*Create Date: 2009-11-4
*Author:a276202460
*/
package com.axis.pojo.test;
public class User implements java.io.Serializable{
public boolean equals(Object obj) {
if (obj == ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ