java ²Ù×÷ sql
List <String> sqlFileList = new ArrayList <String>();
public List <String> readSqlFiles(List <String> fileNameList) {
List <String> sqlList = new ArrayList <String>();
for (String fileName : fileNameList) {
File myFile = new File(fileName);
if (!myFile.exists()) {
System.err.println("Can't Find " + fileName);
continue;
}
StringBuffer temp = new StringBuffer();
try {
BufferedReader in = new BufferedReader(new FileReader(myFile));
String str;
while ((str = in.readLine()) != null) {
temp.append(str);
}
in.close();
 
Ïà¹ØÎĵµ£º
ÎÊÌ⣺
·þÎñÆ÷ÊÇÓÃjavaдµÄ£¬¿Í»§¶ËÊÇÓÃactionscript(ʹÓÃamf3)дµÄ£¬µ«ÊÇ·þÎñÆ÷¶ËÖ»·¢ËÍÁËÁ½´ÎÐÅÏ¢£¬
¿Í»§¶ËÈ´½ÓÊÕµ½Èý´ÎÊý¾Ý£¬·þÎñÆ÷¶ËÒ²ÊÇͬÑùµÄÎÊÌ⣬½ÓÊÕµ½¿Í»§¶ËµÄÈý´ÎÊý¾Ý£¬µ«ÊÇ¿Í»§¶ËÒ²Ö»·¢ÁË
Á½´ÎÐÅÏ¢¡£
ÓÉÓÚsocket´«ÊäÊý¾ÝʱÊÇ°´¹Ì¶¨µÄ´óС´«ËÍ×Ö½ÚÊý¾ÝµÄ£¬µ«ÊÇÔÚflash¿Í»§¶Ë¶ÁÈ¡µÄ
ʱºòÊÇ¿¿Ò» ......
package com.yc.eap.util;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.common ......
Java±äÁ¿ÓÐÁ½ÖÖÊý¾ÝÀàÐÍ,Ò»ÊÇPrimitiveÖ÷Êý¾ÝÀàÐÍ,Ò»ÊÇÒýÓÃ.
Ö÷Êý¾ÝÀàÐÍ°üÀ¨:
Boolean¡¢char¡¢Byte¡¢short¡¢int¡¢long¡¢float¡¢double
ÒýÓÃΪ£ºDog d = new Dog();
d.bark. ......
¼ûϱߵijÌÐò¶Î
package test;
class A {
public String f(A obj)
{
return("A");
}
}
class B extends A {
public String f(B ob ......
È·¶¨ÄãµÄjdk»·¾³±äÁ¿ÅäÖÃÊÇÕýÈ·µÄ¡£
¶ÔÓÚjava³õѧÕßÀ´Ëµ£¬±àÒëºÍÔËÐÐjava³ÌÐòÊÇÒ»¼þºÜÍ·Ì۵Ķ«Î÷¡£
ÏÔÈ»£¬ÔÚÃüÁʽϱàÒëºÍÔËÐÐjava³ÌÐòÓþÃÁË£¬È·ÊµÊǺÜÂé·³£¬
¶øÎÒÃÇÓÖ²»ÏëʹÓôóÐ͵Ŀª·¢¹¤¾ßʱ£¬UltraEditÊÇÒ»¸ö²»´íµÄÑ¡Ôñ£¬
ºÜ¶à³õѧÕ߶¼ÊÇÓÃËüÀ´±àдjavaÔ´ÎļþµÄ£¬¿ÉÒÔ¸ßÁÁ¶ÈÏÔʾ¹Ø¼ü×Ö¡£
1¡£¹Ø¼ü×Ö¸ßÁÁ¶ÈÏÔʾ¡ ......