s60 ÊÖ»ú JavaÈí¼þ°²×°³åÍ»½â¾ö
¡¡JavaÈí¼þÓÐMIDP2.0ºÍMIDP1.0Á½ÖÖ¡£Òò´Ë£¬ÎÒÃÇÔÚ°²×°JavaÈí¼þʱ£¬Ê×ÏÈÐèÒª¸ù¾ÝÈí¼þÌṩµÄÐÅÏ¢ÅжÏÈí¼þÊÇ·ñÊʺÏ×Ô¼ºµÄÊÖ»ú£¬´Ó¶ø±ÜÃâ°²×°Ö®ºóÎÞ·¨Ê¹ÓõÄÇé¿ö·¢Éú¡£ ´ËÍ⣬ÓÐЩÈí¼þ¿ÉÄÜ»áÓëÊÖ»úÄÚÒѾ°²×°µÄÈí¼þÓгåÍ»£¬ÔÚ°²×°Ç°Ò²Ó¦×Ðϸ¿´Çå³þÏà¹Ø˵Ã÷¡£
¡¡¡¡°²×°³£¼ûÎÊÌâ½â´ð
¡¡¡¡Ö¢×´1£º°²×°Íê³ÉºóÈ´×Ô¶¯É¾³ý£¬»òÏÔʾÎÞ·¨°²×°¡£
¡¡¡¡½â¾ö·½°¸£ºÖØа²×°Ò»´ÎjarÎļþ£¬¶ÔÓڴ󲿷ÖÈí¼þ¶¼ÊÇ¿ÉÐеġ£
¡¡¡¡Ö¢×´2£º²»ÄÜ°²×°£¬°²×°¹ý³ÌÒ»ÉÁ¶ø¹ý»òÕßÌáʾ“°²×°ÎļþÒÑË𻵔¡£
¡¡¡¡½â¾ö·½°¸£º¿ÉÄÜÓëjarÎļþÃûÓйء£¼ì²éjarÎļþµÄÀ©Õ¹ÃûÊÇ·ñΪСд*.jar£¬Èç¹ûÊÇ*.JAR£¬ÐèÒª½«ÎļþÃû¸ÄΪСд¡£´ËÍâÓÉÓÚJavaÈí¼þÒ»°ã²»Ö§³ÖÖÐÎÄÎļþÃû£¬Èç¹ûjarÎļþÖк¬ÓÐÖÐÎÄ£¬ÐèÒª¸ÄΪӢÎÄ»òÊý×Öºó²ÅÄÜ°²×°³É¹¦¡£
¡¡¡¡Ä¿Ç°Åµ»ùÑÇËù³öµÄFP2»úÐ͵ÄS60ÊÖ»úϵͳÒѾ֧³ÖÖÐÎÄÃûµÄjarÎļþ°²×°£¬¼´Ê¹ÓÃÖÐÎÄÃûÃüÃûµÄjarÈí¼þ¿ÉÒÔ±»s60FP2ϵͳËùʶ±ð²¢ÔËÐУ¬Ö®Ç°µÄÎÞ·¨Ê¶±ð¾ùÊÇs60µÄMR»úÐÍÒÔ¼°FP1»úÐÍ£¬FP2»úÐÍ°üÀ¨5320£¬n78£¬n79£¬n85£¬5530£¬µÈ
¡¡¡¡Ö¢×´3£º°²×°ºóÎÞ·¨ÔËÐУ¬±íÏÖΪµã»÷Æô¶¯Í¼±êºó£¬ÆÁĻֻÊÇÉÁһϣ¬¾ÍÓֻص½²Ëµ¥»Ãæ¡£
¡¡¡¡½â¾ö·½°¸£ºÈç¹ûjar°²×°ÎļþÊÇÖÐÎÄÎļþÃûµÄ»°£¬ÓÃFileMan»òSeleQÈí¼þ¸ÄΪӢÎĺóÔÙ°²×°ÔËÐС£ÈÔÈ»²»ÐеĻ°£¬ÐëÒªÐÞ¸ÄjarÎļþѹËõ°üÀïµÄMANIFEST.MFÎļþ¡£·½·¨ÊÇ£ºÓÃWinRAR»òWinZipÈí¼þ½âѹjarÎļþ£¬ÕÒµ½½âѹºóµÄMETA-INFÎļþ¼ÐϵÄMANIFEST.MFÎļþ¡£ÓüÇʱ¾´ò¿ªºó½«ÀïÃæËùÓеÄÖÐÎÄ×Ö·û¶¼¸Ä³ÉÓ¢ÎÄ¡£±£´æºóÒ»¶¨ÒªÓÃWinZip´ò°ü¡£Ôٴΰ²×°Ð޸ĺóµÄjarÎļþ£¬Èç¹ûÆô¶¯Í¼±êÃû³Æ±ä³ÉÓ¢Îľͱíʾ¿ÉÒÔÔËÐÐÁË¡£
¡¡¡¡Ö¢×´4£ºQQµÈJavaÈí¼þÎÞ·¨°²×°£¬°²×°¹ý³ÌÖгöÏÖ½ø¶ÈÌõºó¾ÍûÓмÌÐø°²×°¡£
¡¡¡¡½â¾ö·½°¸£º¿ÉÄÜÊÇÎóɾÁË·´°²×°Îļþ»òÕßûÓн«ÒÔÇ°ÆäËû°æ±¾µÄÈí¼þɾ³ý¸É¾»µ¼ÖÂÎÞ·¨°²×°¡£½â¾öµÄ·½·¨ÊÇÏÈÈ·±£³ÌÐòÔÚSystem/MIDIetsÄÚµÄÖ÷ÎļþºÍAppsÄÚµÄÎļþÒÑÍêȫɾ³ý£¬ÔÙ°ÑÒª°²×°µÄ³ÌÐò¿½µ½ÊÖ»úÆäËûÎļþ¼ÐÄÚ¡£²»ÒªÓÃFileMan»òSeleQ°²×°£¬Ê¹ÓÃÊÖ»ú×Ô´øµÄ“Îļþ¹ÜÀí”ÕÒµ½°²×°Èí¼þ½øÐа²×°¾Í¿ÉÒÔÁË¡£
¡¡¡¡Ð¶ÔØÒ»¶¨Òª³¹µ×
¡¡¡¡ÀûÓÃÊÖ»ú×Ô´øµÄ“Îļþ¹ÜÀí”°²×°µÄ£¬¿ÉÒÔÔÚJava¹ÜÀíÆ÷ÖÐÕÒµ½¸ÃÈí¼þÖ±½Óɾ³ý£¬»òÕßÖ±½Óɾ³ýsystem\appsĿ¼Ï¸ÃÈí¼þ¡£Èç¹ûÔÚÊÖ»úJava¹ÜÀíÆ÷ÖÐÕÒ²»µ½Èí¼þ£¬¿ÉÒÔÖ±½Óµ½E:\system\midpÏÂɾ³ý¸ÃÎļþĿ¼¡£
Ïà¹ØÎĵµ£º
ÐèÒªdom4j.jarÎļþ £¬×ÔÐÐÏÂÔØ¡£ test.xml 1: <?xml version="1.0" encoding="gbk"?>
2:
3: <students>
4: <person sex="ÄÐ" age="21">
5: <id>1</id>
6: <name>ÕÂÖÎÅô</name>
7: <homepage&g ......
/**
* ÏÂÔØÎļþ
* @param filePath --ÎļþÍêÕû·¾¶
* @param response --HttpServletResponse¶ÔÏó
*/
public static void downloadFile(
String filePath,
javax.servlet.http.HttpServletResponse response) {
String fileName = ""; //ÎļþÃû£¬Êä³öµ½Óû§µÄÏÂÔضԻ°¿ò
//´ÓÎļþÍêÕû·¾¶ÖÐÌáÈ¡ÎļþÃû£¬²¢½øÐбà ......
µ±Java³ÌÐò´´½¨Ò»¸öÀàµÄʵÀý»òÕßÊý×éʱ£¬¶¼ÔÚ¶ÑÖÐΪеĶÔÏó·ÖÅäÄÚ´æ¡£ÐéÄâ»úÖÐÖ»ÓÐÒ»¸ö¶Ñ£¬ËùÓеÄÏ̶߳¼¹²ÏíËü¡£
1¡¢À¬»øÊÕ¼¯£¨Garbage Collection£©
À¬»øÊÕ¼¯ÊÇÊÍ·ÅûÓб»ÒýÓõĶÔÏóµÄÖ÷Òª·½·¨¡£ËüÒ²¿ÉÄÜ»áΪÁ˼õÉٶѵÄËéƬ£¬¶øÒƶ¯¶ÔÏó¡£ ......
×î½üÓ¦ÀÏʦµÄÒªÇó¿´ÁËÊý¾Ý¿â¡£ÔÚÍøÉÏÕÒÁËÊÓƵ£¬ÊǸö½ÌÓý»ú¹¹·¢µÄ¡£ÄǸöÊÓƵ¿´µÃÎÒÖ±·¸À§£¬³ýÁËÀÏʦ½²¿Î½²´íµÄʱºò¡£
ÊÓƵ½²µÃºÜdzÏÔ£¬µÚÒ»Õ½²ÁËsqlÊý¾Ý¿â½á¹¹£¬ÓÐʲôģÐÍ¡£½Ó׎²Ö÷¼ü£¬Íâ¼ü£¬È»ºóÊǽ¨±íÓï¾ä£¬²éѯÓï¾äµÈµÈ¡£
show databases ÏÔʾÊý¾Ý¿â¡£
use ** ʹÓÃÊý¾Ý¿â¡£
create table ** (**,**,**) ½¨±í¡£
se ......
Object Ordering
A List l may be sorted as follows.
Collections.sort(l);
If the List consists of String elements, it will be sorted into alphabetical order. If it consists of Date elements, it will be sorted into chronological order. How does this happen? String and Date both implement the Compara ......