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

JavaÖжàÏ̵߳ÄʵÏÖ

ʲô½Ð¶àỊ̈߳¿
Java³ÌÐòͨ¹ýÁ÷¿ØÖÆÀ´Ö´ÐгÌÐòÁ÷£¬³ÌÐòÖе¥¸ö˳ÐòµÄÁ÷¿ØÖƳÆΪÏ̡߳£
Ï̺߳ͽø³ÌµÄÒìͬµãÔÚÄÄÀ
Ïàͬµã£ºËûÃÇÒ»ÑùÓµÓжÀÁ¢µÄÖ´ÐпØÖÆ£¬ÓɲÙ×÷ϵͳ¸ºÔðµ÷¶È¡£
²»Í¬µã£ºÏß³ÌûÓжÀÁ¢µÄϵͳ×ÊÔ´£¬Í¬Ò»½ø³ÌÖеÄËùÓÐÏ̹߳²Ïí½ø³ÌµÄϵͳ×ÊÔ´£¬Èç´æ´¢¿Õ¼ä¡¢´ÅÅÌÎļþ¡¢´òÓ¡»úµÈ¡£
ÓÉÓÚ¸÷¸öÏ̵߳ĿØÖÆÁ÷±Ë´Ë¶ÀÁ¢£¬Ê¹µÃ¸÷¸öÏß³ÌÖ®¼äµÄ´úÂëÊÇ¿ÉÒÔ°´ÕÕÈκκÏÀíµÄ˳ÐòÖ´ÐУ¬ÓÉ´Ë´øÀ´Ï̵߳÷¶ÈºÍͬ²½µÈÎÊÌâ¡£
ÈçºÎʵÏÖÏß³ÌÀࣿ
¿ÉÒÔÓÐÁ½ÖÖ·½·¨£º¼Ì³ÐThreadÀàºÍʵÏÖRunnable½Ó¿Ú¡£
ÓÉÓÚÔÚJavaÖв»ÔÊÐíÒ»¸öÀà¼Ì³Ð×Ô¶à¸öÀ࣬ËùÒÔʵÏÖRunnable½Ó¿ÚÊdz£¼ûµÄ·½·¨¡£
                  
ÀýÈ磺
public class test extends Socket
                  implements Runnable  {
     test() {
            // ...
     }
  
     public void run() {
           // ...
     }
}
Ï̼߳äµÄͨÐÅ
JavaÖеÄÏß³ÌͨÐÅÖ÷ÒªÓÐÁ½ÖÖ·½·¨£º¹ÜµÀͨÐźͱêʶ·ûͨÐÅ¡£
¹ÜµÀͨÐÅÒÀÀµÁ½¸öÀࣺPipedInputStreamºÍPipedOutputStream¡£
Ï̵߳Äͬ²½


Ïà¹ØÎĵµ£º

java IOÏê½â Java»ù´¡ ºÜÖØÒª

java IOÏê½â
Java Á÷ÔÚ´¦ÀíÉÏ·ÖΪ×Ö·ûÁ÷ºÍ×Ö½ÚÁ÷¡£×Ö·ûÁ÷´¦ÀíµÄµ¥ÔªÎª 2 ¸ö×Ö½ÚµÄ Unicode ×Ö·û£¬·Ö±ð²Ù×÷×Ö·û¡¢×Ö·ûÊý×é»ò×Ö·û´®£¬¶ø×Ö½ÚÁ÷´¦Àíµ¥ÔªÎª 1 ¸ö×Ö½Ú£¬²Ù×÷×Ö½ÚºÍ×Ö½ÚÊý×é¡£
Java ÄÚÓà Unicode ±àÂë´æ´¢×Ö·û£¬×Ö·ûÁ÷´¦ÀíÀฺÔð½«ÍⲿµÄÆäËû±àÂëµÄ×Ö·ûÁ÷ºÍ java ÄÚ Unicode ×Ö·ûÁ÷Ö®¼äµÄת»»¡£¶øÀà InputStrea ......

java ѹËõͼƬ ʵÀý

public class ImageSizer {
public static final MediaTracker tracker = new MediaTracker(new Component() {
private static final long serialVersionUID = 1234162663955668507L;
});
/**
* Í¼Æ¬Ñ¹Ë ......

JAVA JDK»·¾³±äÁ¿µÄÅäÖÃ

JDK»·¾³±äÁ¿ÅäÖõIJ½ÖèÈçÏ£º
1.ÎҵĵçÄÔ-->ÊôÐÔ-->¸ß¼¶-->»·¾³±äÁ¿.
2.ÅäÖÃÓû§±äÁ¿:
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡a.н¨ JAVA_HOME
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡   C:\Program Files\Java\j2sdk1.5.0 £¨JDKµÄ°²×°Â·¾¶£©
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡b.н¨ PATH
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡  %JAVA_HOME%\bin;%JAV ......

java¿ìËÙÅÅÐò

±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£ºhttp://blog.csdn.net/myelse/archive/2009/04/14/4073654.aspx
¿ìËÙÅÅÐòÊǶÔðÅÝÅÅÐòµÄÒ»ÖָĽø¡£ËüµÄ»ù±¾Ë¼ÏëÊÇ£ºÍ¨¹ýÒ»ÌÉÅÅÐò½«ÒªÅÅÐòµÄÊý¾Ý·Ö¸î³É¶ÀÁ¢µÄÁ½²¿·Ö£¬ÆäÖÐÒ»²¿·ÖµÄËùÓÐÊý¾Ý¶¼±ÈÁíÍâÒ»²»²¿·ÖµÄËùÓÐÊý¾Ý¶¼ÒªÐ¡£¬È»ºóÔÙ°´´Î·½·¨¶ÔÕâÁ½²¿·ÖÊý¾Ý·Ö±ð½øÐпìËÙÅÅÐò£¬Õû¸öÅÅÐò¹ý³ ......

ÀûÓÃJava ´´½¨ºÍ¶ÁÈ¡ExcelÎĵµ

ΪÁ˱£Ö¤Ê¾Àý³ÌÐòµÄÔËÐУ¬±ØÐë°²×°Java 2 sdk1.4.0 ºÍJakarta POI£¬Jakarta POIµÄWebÕ¾µãÊÇ: http://jakarta.apache.org/poi/

ʾÀý1½«ÑÝʾÈçºÎÀûÓÃJakarta POI API ´´½¨Excel Îĵµ¡£
ʾÀý1³ÌÐòÈçÏ£º
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import
org.apache.poi.hssf.usermodel.HSSFSheet;
impo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ