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();//¶ÁȡһÐÐ
Ïà¹ØÎĵµ£º
Java ½Å±¾ API ¸ÅÊö
½Å±¾ÒýÇæ
½Å±¾ÒýÇæ¾ÍÊÇÖ¸½Å±¾µÄÔËÐл·¾³£¬ËüÄÜÄܹ»°ÑÔËÐÐÆäÉϵĽâÊÍÐÔÓïÑÔת»»Îª¸üµ×²ãµÄ»ã±àÓïÑÔ£¬Ã»Óнű¾ÒýÇæ£¬½Å±¾¾ÍÎÞ·¨±»ÔËÐС£
Java SE 6 ÒýÈëÁË¶Ô Java Specification Request£¨JSR£©223 µÄÖ§³Ö£¬JSR 223 Ö¼ÔÚ¶¨ÒåÒ»¸öͳһµÄ¹æ·¶£¬Ê¹µÃ Java Ó¦ÓóÌÐò¿ÉÒÔͨ¹ýÒ»Ì׹̶¨µÄ½Ó¿ÚÓë¸÷Öֽű ......
1.//propertyÎļþµÄ¶ÁÈ¡
//com.test.messageÎļþ
package com.test;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class Test_Messages {
private static final String BUNDLE_NAME = "com.test.messages";
private static final ResourceBundle RESOURCE_BUNDLE = Reso ......
override¿ÉÒÔ·ÒëΪ¸²¸Ç£¬´Ó×ÖÃæ¾Í¿ÉÒÔÖªµÀ£¬ËüÊǸ²¸ÇÁËÒ»¸ö·½·¨²¢ÇÒ¶ÔÆäÖØÐ´£¬ÒÔÇó´ïµ½²»Í¬µÄ×÷Ó᣶ÔÎÒÃÇÀ´Ëµ×îÊìϤµÄ¸²¸Ç¾ÍÊǶԽӿڷ½·¨µÄʵÏÖ£¬ÔÚ½Ó¿ÚÖÐÒ»°ãÖ»ÊǶԷ½·¨½øÐÐÁËÉùÃ÷£¬¶øÎÒÃÇÔÚʵÏÖʱ£¬¾ÍÐèҪʵÏÖ½Ó¿ÚÉùÃ÷µÄËùÓз½·¨¡£³ýÁËÕâ¸öµäÐ͵ÄÓ÷¨ÒÔÍ⣬ÎÒÃÇÔڼ̳ÐÖÐÒ²¿ÉÄÜ»áÔÚ×ÓÀา¸Ç¸¸À ......
JavaÒì³£´¦Àí×ܽá
Òì³£´¦ÀíÊdzÌÐòÉè¼ÆÖÐÒ»¸ö·Ç³£ÖØÒªµÄ·½Ã棬ҲÊdzÌÐòÉè¼ÆµÄÒ»´óÄѵ㣬´ÓC¿ªÊ¼£¬ÄãÒ²ÐíÒѾ֪µÀÈçºÎÓÃif...else...À´¿ØÖÆÒì³£ÁË£¬Ò²ÐíÊÇ×Ô·¢µÄ£¬È»¶øÕâÖÖ¿ØÖÆÒ쳣ʹ¿à£¬Í¬Ò»¸öÒì³£»òÕß´íÎóÈç¹û¶à¸öµØ·½³öÏÖ£¬ÄÇôÄãÿ¸öµØ·½¶¼Òª×öÏàͬ´¦Àí£¬¸Ð¾õÏ൱ ......