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

JavaÕýÔò±í´ïʽµÄ½âÊÍ˵Ã÷


±í´ïʽÒâÒ壺
1.×Ö·û
x    ×Ö·û x¡£ÀýÈça±íʾ×Ö·ûa
\\    ·´Ð±Ïß×Ö·û¡£ÔÚÊéдʱҪдΪ\\\\¡££¨×¢Ò⣺ÒòΪjavaÔÚµÚÒ»´Î½âÎöʱ,°Ñ\\\\½âÎö³ÉÕýÔò±í´ïʽ\\£¬ÔÚµÚ¶þ´Î½âÎöʱÔÙ½âÎöΪ\£¬ËùÒÔ·²ÊDz»ÊÇ1.1Áоٵ½µÄתÒå×Ö·û£¬°üÀ¨1.1µÄ\\,¶øÓÖ´øÓÐ\µÄ¶¼ÒªÐ´Á½´Î£©
\0n    ´øÓа˽øÖÆÖµ 0µÄ×Ö·û n (0 <= n <= 7)
\0nn    ´øÓа˽øÖÆÖµ 0µÄ×Ö·û nn (0 <= n <= 7)
\0mnn    ´øÓа˽øÖÆÖµ 0µÄ×Ö·û mnn£¨0 <= m <= 3¡¢0 <= n <= 7£©
\xhh    ´øÓÐÊ®Áù½øÖÆÖµ 0xµÄ×Ö·û hh
\uhhhh    ´øÓÐÊ®Áù½øÖÆÖµ 0xµÄ×Ö·û hhhh
\t    ÖƱí·û ('\u0009')
\n    ÐÂÐУ¨»»ÐУ©·û ('\u000A')
\r    »Ø³µ·û ('\u000D')
\f    »»Ò³·û ('\u000C')
\a    ±¨¾¯ (bell) ·û ('\u0007')
\e    תÒå·û ('\u001B')
\cx    ¶ÔÓ¦ÓÚ x µÄ¿ØÖÆ·û
2.×Ö·ûÀà
[abc]    a¡¢b»ò c£¨¼òµ¥Àࣩ¡£ÀýÈç[egd]±íʾ°üº¬ÓÐ×Ö·ûe¡¢g»òd¡£
[^abc]    ÈκÎ×Ö·û£¬³ýÁË a¡¢b»ò c£¨·ñ¶¨£©¡£ÀýÈç[^egd]±íʾ²»°üº¬×Ö·ûe¡¢g»òd¡£
[a-zA-Z]    aµ½ z»ò Aµ½ Z£¬Á½Í·µÄ×Öĸ°üÀ¨ÔÚÄÚ£¨·¶Î§£©
[a-d[m-p]]    aµ½ d»ò mµ½ p£º[a-dm-p]£¨²¢¼¯£©
[a-z&&[def]]    d¡¢e»ò f£¨½»¼¯£©
[a-z&&[^bc]]    aµ½ z£¬³ýÁË bºÍ c£º[ad-z]£¨¼õÈ¥£©
[a-z&&[^m-p]]    aµ½ z£¬¶ø·Ç mµ½ p£º[a-lq-z]£¨¼õÈ¥£©
3.Ô¤¶¨Òå×Ö·ûÀà(×¢Òⷴб¸ÜҪдÁ½´Î£¬ÀýÈç\dдΪ\\d)ÈκÎ×Ö·û
£¨ÓëÐнáÊø·û¿ÉÄÜÆ¥ÅäÒ²¿ÉÄܲ»Æ¥Å䣩
\d    Êý×Ö£º[0-9]
\D    ·ÇÊý×Ö£º [^0-9]
\s    ¿Õ°××Ö·û£º[ \t\n\x0B\f\r]
\S    ·Ç¿Õ°××Ö·û£º[^\s]
\w    µ¥´Ê×Ö·û£º[a-zA-Z_0-9]
\W    ·Çµ¥´Ê×Ö·û£º[^\w]
4.POSIX ×Ö·ûÀࣨ½ö US-ASCII)(×¢Òⷴб¸ÜҪдÁ½´Î£¬ÀýÈç\p{Lower}дΪ\\p{Lower})
\p{Lower}    Сд×Öĸ×Ö·û£º[a-z]¡£
\p{Upper}    ´óд×Öĸ×Ö·û£º[A-Z]
\p{ASCII}    ËùÓÐ ASCII£º[\x00-\x7F]
\p{Alph


Ïà¹ØÎĵµ£º

JavaÖÐIOÁ÷µÄʹÓÃÀý×Ó

 import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundExce ......

Web·þÎñ¼¼Êõ£¬ÇÒ¿´¡¶Java Web·þÎñ¡·ÎªÄúÒ»Ò»µÀÀ´

 
¡¾ÊéÃû¡¿Java Web·þÎñ£º¹¹½¨ÓëÔËÐÐ
¡¾Ô­ÊéÃû¡¿Java Web Services : Up and Running
¡¾×÷Õß¡¿Martin Kalin
¡¾ÒëÕß¡¿ÈÎÔö¸Õ
¡¾³ö°æÉç¡¿µç×Ó¹¤Òµ³ö°æÉç    
¡¾ÊéºÅ¡¿9787121097119
¡¾ÉÏÊÐÈÕÆÚ¡¿2009Äê11ÔÂ
¡¾ÄÚÈݼò½é¡¿
 ±¾ÊéÒÔʾÀýÇý¶¯µÄ·½Ê½Ï꾡µØ½éÉÜÁËXML Web·þÎñºÍRESTful ......

JavaÊÖ»ú¿ª·¢Æ½Ì¨ J2ME


J2ME£¬ÏÖ³ÆΪJava ME(Java Platform, Micro Edition )ÊÇΪ»ú¶¥ºÐ¡¢Òƶ¯µç»°ºÍPDAÖ®ÀàǶÈëʽÏû·Ñµç×ÓÉ豸ÌṩµÄJavaÓïÑÔƽ̨£¬°üÀ¨ÐéÄâ»úºÍһϵÁбê×¼»¯µÄJava API¡£ËüºÍJava SE¡¢Java EEÒ»Æð¹¹³ÉJava¼¼ÊõµÄÈý´ó°æ±¾£¬²¢ÇÒͬÑùÊÇͨ¹ýJCP£¨Java Community Process£©Öƶ©µÄ¡£
Ä¿Ç°½×¶Î£¬Java ME×îÁ÷ÐеÄÓ¦ÓÃÊÇÓÎÏ·Èí¼þ¡£ÒòÎ ......

java¿ªÔ´Àà¿âpinyin4jµÄʹÓÃ

import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import net.sourceforge.pinyin4j.PinyinHelper;
public class PinyinComparator implements Comparator<Object> {
    private String concatPinyinStringArray(String[] pinyinArray) {
   &nb ......

javaÓ¦ÓÃÔ´ÂëºÃÍøÖ·

 StrutsME Ò»¸öÇáÁ¿¼¶µÄÐòÁл¯Ð­Ò飬ʹJ2ME¿Í»§¶ËÄܵ÷ÓÃStruts WebÓ¦ÓóÌÐò¡£
http://www.strutsme.org/
JsonME ÇáÁ¿¼¶ÊµÏÖJ2ME Json¡£
http://www.json.org/java/org.json.me.zip
MicroLog ÇáÁ¿¼¶µÄLOG
http://microlog.sourceforge.net/snapshot
Mobile Ajax for Java ME °üÀ¨ÁËXmlHttpRequest£¬jsonµÄÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ