java¶ÁÎļþ ÂÒÂë
/**
*
*/
package com.dongyun.peas2.system.web.action;
///**
// * @author Administrator
// *
// */
//public class ABcom {
//
// /**
// *
// */
// public ABcom() {
// // TODO Auto-generated constructor stub
// }
//
// /**
// * @param args
// */
// public static void main(String[] args) {
// // TODO Auto-generated method stub
//
// }
//
//}
import java.io.*;
public class ABcom {
//¹¦ÄÜ:¶ÁÈ¡f:/aillo.txtÎļþµÄÄÚÈÝ(Ò»ÐÐÒ»ÐжÁ),²¢½«ÆäÄÚÈÝдÈëf:/jackie.txtÖÐ
//֪ʶµã:java¶ÁÎļþ¡¢Ð´Îļþ---<ÒÔ×Ö·ûÁ÷·½Ê½>
public static void main(String[] args) {
try {
FileInputStream fr = new FileInputStream("e:/question.txt");
BufferedReader br = new BufferedReader( new InputStreamReader(fr, "UTF-8") );// /****×Ö½ÚÁ÷¿ÉÒ԰ѱàÂë½øÐÐÉèÖᣡ£ÎÊÌâ½â¾ö
// FileReader fr = new FileReader("e:/question.txt");//´´½¨FileReader¶ÔÏó£¬ÓÃÀ´¶ÁÈ¡×Ö·ûÁ÷
// BufferedReader br = new BufferedReader(fr); //»º³åÖ¸¶¨ÎļþµÄÊäÈë
FileWriter fw = new FileWriter("e:/jackie.txt");//´´½¨FileWriter¶ÔÏó£¬ÓÃÀ´Ð´Èë×Ö·ûÁ÷
BufferedWriter bw = new BufferedWriter(fw); //½«»º³å¶ÔÎļþµÄÊä³ö
String myreadline; //¶¨ÒåÒ»¸öStringÀàÐ͵ıäÁ¿,ÓÃÀ´Ã¿´Î¶ÁÈ¡Ò»ÐÐ
while (br.ready()) {
myreadline = br.readLine();//¶ÁÈ¡Ò»ÐÐ
Ïà¹ØÎĵµ£º
¿¼ÂÇÓþ²Ì¬¹¤³§·½·¨´úÌæ¹¹Ô캯Êý
Àà¿ÉÒÔΪËüµÄ¿Í»§ÌṩһЩ¾²Ì¬¹¤³§·½·¨£¬À´Ìæ´ú¹¹Ô캯Êý£¬»òÕßͬʱҲÌṩһЩ¹¹Ô캯Êý¡£
¾²Ì¬¹¤³§·½·¨µÄÒ»¸öºÃ´¦ÊÇ£¬Óë¹¹Ô캯ÊýÏà±È£¬¾²Ì¬¹¤³§·½·¨¾ßÓÐÃû×Ö£¬Ëü¿ÉÒÔʹµÃ´úÂë¸üÈÝÒ×ÔĶÁ¡£Èç¹ûÒ»¸öÀà¿´ÆðÀ´ÐèÒª¶à¸ö¹¹Ô캯Êý£¬²¢ÇÒËüÃǵÄÔÐÍÌØÕ÷Ïàͬ£¬ÄÇôÄãÓ¦¸Ã¿¼ÂÇÓþ²Ì¬¹¤³§·½·¨À´ ......
import java.io.UnsupportedEncodingException;
/**
* ת»»×Ö·û´®µÄ±àÂë
*/
public class ChangeCharset {
/** 7λASCII×Ö·û£¬Ò²½Ð×÷ISO646-US¡¢Unicode×Ö·û¼¯µÄ»ù±¾À¶¡¿é */
public static final String US_ASCII = "US-ASCII";
/** ISO À¶¡×Öĸ±í No.1£¬Ò²½Ð×÷ ISO-LATIN-1 */
public static final String ISO_ ......
תÔØ×Ô£ºwww.csdn.net
2003 Äê 1 ÔÂ
ÔÚ¿ªÔ´ÊÀ½çÖУ¬ÓÐÁ½ÌױȽÏÓÐÓ°ÏìµÄAPI¿É¹©Ê¹Óã¬Ò»¸öÊÇPOI£¬Ò»¸öÊÇjExcelAPI¡£ÆäÖÐjExcelAPIÊÇÒ»¸öº«¹ú³ÌÐòÔ±µÄ×÷Æ·£¬ËäȻûÓÐPOIÄÇÑùѪͳ¸ß¹ó£¬µ«ÊÇÔÚ±ÊÕßµÄʹÓùý³ÌÖУ¬¸Ð¾õ¼òµ¥·½±ã£¬¶ÔÖÐÎÄÖ§³Ö·Ç³£ºÃ£¬¹¦ÄÜÒ²±È½ÏÇ¿´ó¡£ËüµÄÏÂÔصØÖ·ÊÇ£ºhttp://www.andykhan.com/jexcelapi/ µ±Ç ......
/**
* @param args
*/
public static void main(String[] args) {
long time1 = System.currentTimeMillis();
long time2 = System.currentTimeMillis();
while (true) {
while ((time1 - time2) < 30)
& ......
½ñÌìûʸɡ££¬ÄÃJavaÖеÄmainº¯ÊýÀ´Ịֽ̀¬¡£¡£»¹ÇëÖîλָµã°¡£¬£¬
public static void main(String args [])
{
.....
}
ÕâÊÇ´ó¼ÒÒ»°ãµÄд·¨°É£¬ÕâÀïÎÒÏëÌ̵ֽÄÖ÷ÒªÓÐÒÔϼ¸µã£º
1.ËüµÄ²ÎÊýÎÊÌ⣬ÄǸö²ÎÊýµ¹µ×ÓкÎÓÃÄØ£¬£¬ÕâÊǺÜÁîÈËÃÔ»óµÄ£¬ÕâÀï×Ô¼ºÐ´Á˸öÀý×ÓÊÔÁËһϣ¬µ«ÊdzöÏÖÁËÒì³££º
class A
{
......