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

JavaÖ®´Ójar°üÖжÁÈ¡ÅäÖÃÎļþµÄÐÅÏ¢

Java¿ª·¢ÖУ¬×îÖյijÌÐò·¢²¼Ò»°ãÊÇÒª´ò³Éjar°üÐÎʽµÄ£¬¶øÓÐһЩÅäÖÃÎļþÊÇ·ÅÔÚjarÀïÃæµÄ£¬ÕâÑùÔÚ×öFileÐÎʽµÄ¶Áȡʱ£¬¾Í»á·¢ÏÖ¶Á²»µ½ÏàÓ¦µÄÎļþ¡£ÏÂÃæÌṩһÖÖ½â¾ö·½Ê½£ºString fileName = "/config/abcd.config";
InputStream in = getClass().getResourceAsStream(fileName);
BufferedReader br = null;
try{
br = new BufferedReader(new InputStreamReader(in));
String line;
while ((line = br.readLine()) != null){
System.out.println(line);
}
br.close();
} catch (Exception e){
// TODO Auto-generated catch block
e.printStackTrace();
} finally{
if (br != null){
try{
br.close();
} catch (IOException e){
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}


Ïà¹ØÎĵµ£º

ÉîÈëjavaÒì³£»úÖÆ

ת×Ôwww.bitsCN.com
ÕªÒª£º±¾ÎÄ´ÓJavaÒì³£×î»ù±¾µÄ¸ÅÄî¡¢Óï·¨¿ªÊ¼½²ÊöÁËJavaÒì³£´¦ÀíµÄ»ù±¾ÖªÊ¶£¬·ÖÎöÁËJavaÒì³£Ìåϵ½á¹¹£¬¶Ô±ÈSpringµÄÒì³£´¦Àí¿ò
¼Ü£¬²ûÊöÁËÒì³£´¦ÀíµÄ»ù±¾Ô­Ôò¡£²¢ÇÒ×÷ÕßÌá³öÁË×Ô¼º´¦ÀíÒ»¸ö´óÐÍÓ¦ÓÃϵͳÒì³£µÄ˼Ï룬²¢Í¨¹ýÉè¼ÆÒ»¸öÒì³£´¦ÀíµÄ¿ò¼ÜÀ´ÂÛÊö´Ë˼Ïë¡£
    Ò»¡¢ Òì³£µÄ¸ÅÄîº ......

think in javaµÚÊ®ÎåÕ¹ØÓÚÍøÂç±à³ÌµÄ¶ÁÊé±Ê¼Ç

      ¶ÔÓÚjavaµÄÍøÂç±à³ÌÊéÖÐÌÖÂÛµÄÈ«²¿¹éÄÉÆðÀ´ÓÐSocketµÄʹÓã¬DatagramSocketµÄʹÓã¬javaÓëCGIµÄÅäºÏʹÓã¬javaÁ¬½ÓÊý¾Ý¿âÒÔ¼°javaÖе÷ÓÃÔ¶³Ì·½·¨¡£
     
Ê×ÏÈÊÇSocketµÄʹÓ㬶ÔÓÚ·þÎñ¶ËÀ´Ëµ£¬Ó¦¸ÃÉùÃ÷µÄÊÇServerSocket¶ÔÏó£¬È»ºóʹÓÃSocket
accept()·½·¨½øÐÐ ......

¹ØÓÚJavaÖÐ×Ô¶¨Òå°üµÄ´´½¨

ÎÒÔÚѧϰthinking in Java4 µÄʱºò£¬ÔÚ´´½¨×Ô¶¨Òå°üµÄʱºò£¬Åöµ½Á˺ܶà´íÎó£¬ÈÃÎÒÓôÃÆÁ˼¸Ì죬ͨ¹ýÔÚÍøÉϵÄ×ÊÁÏËÑË÷£¬°Ñ°üµÄ´´½¨¹ý³Ì¸ø´ó¼ÒÏêϸÁгöÀ´¡£
ÎÒÃÇÒÔthinking in Java4ÖеÄÀý×ÓΪÀý
´´½¨Á½¸öÀàVectorºÍList¡£½«±àÒëºóµÄVector.classºÍList.classÎļþ·ÅÔÚ°ünet.mindview.simpleÏÂ(¸Ã°üλÓÚc:\DOC\JavaT).
//Vec ......

JavaÐéÄâ»ú£¨JVM£©²ÎÊýÅäÖÃ˵Ã÷

×¢£º±¾ÎÄת×Ôhttp://lavasoft.blog.51cto.com µÄJavaÐéÄâ»ú£¨JVM£©²ÎÊýÅäÖÃ˵Ã÷£¬×÷Ϊ×Ô¼ºÑ§Ï°Óá£
JavaÐéÄâ»ú£¨JVM£©²ÎÊýÅäÖÃ˵Ã÷
 
ÔÚJava¡¢J2EE´óÐÍÓ¦ÓÃÖУ¬JVM·Ç±ê×¼²ÎÊýµÄÅäÖÃÖ±½Ó¹Øϵµ½Õû¸öϵͳµÄÐÔÄÜ¡£
JVM·Ç±ê×¼²ÎÊýÖ¸µÄÊÇJVMµ×²ãµÄһЩÅäÖòÎÊý£¬ÕâЩ²ÎÊýÔÚÒ»°ã¿ª·¢ÖÐĬÈϼ´¿É£¬²»ÐèÒªÈκÎÅäÖᣵ«ÊÇÔÚÉú ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ