JAVAÖеÄתÒå×Ö·û
JAVAÖÐתÒå×Ö·û£º
1.°Ë½øÖÆתÒåÐòÁУº\ + 1µ½3λ5Êý×Ö£»·¶Î§'\000'~'\377'
\0£º¿Õ×Ö·û
2.UnicodeתÒå×Ö·û£º\u + ËĸöÊ®Áù½øÖÆÊý×Ö£»0~65535
\u0000£º¿Õ×Ö·û
3.ÌØÊâ×Ö·û£º¾Í3¸ö
\"£ºË«ÒýºÅ
\'£ºµ¥ÒýºÅ
\\£º·´Ð±Ïß
4.¿ØÖÆ×Ö·û£º5¸ö
\' µ¥ÒýºÅ×Ö·û
\\ ·´Ð±¸Ü×Ö·û
\r »Ø³µ
\n »»ÐÐ
\f ×ßÖ½»»Ò³
\t ºáÏòÌø¸ñ
\b Í˸ñ
µãµÄתÒ壺. ==> u002E
ÃÀÔª·ûºÅµÄתÒ壺$ ==> u0024
³Ë·½·ûºÅµÄתÒ壺^ ==> u005E
×ó´óÀ¨ºÅµÄתÒ壺{ ==> u007B
×ó·½À¨ºÅµÄתÒ壺[ ==> u005B
×óÔ²À¨ºÅµÄתÒ壺( ==> u0028
ÊúÏßµÄתÒ壺| ==> u007C
ÓÒÔ²À¨ºÅµÄתÒ壺) ==> u0029
ÐǺŵÄתÒ壺* ==> u002A
¼ÓºÅµÄתÒ壺+ ==> u002B
ÎʺŵÄתÒ壺? ==> u003F
·´Ð±¸ÜµÄתÒ壺 ==> u005C
======================================================================
ÏÂÃæµÄ³ÌÐòʹÓÃÁËÁ½¸öUnicodeµÄתÒå×Ö·û£¬ËüÃÇÊÇÓÃÆäÊ®Áù½øÖÆ´úÂëÀ´±íʾUnicode×Ö·û¡£ÄÇô£¬Õâ¸ö³ÌÐò»á´òӡʲôÄØ£¿
Java´úÂë
public class EscapeRout{
public static void main(String[] args){
// \u0022 ÊÇË«ÒýºÅµÄUnicodeתÒå×Ö·û
System.out.println("a\u0022.length()
+\u0022b".length());
}
}
public class EscapeRout{
public static void main(String[] args){
// \u0022 ÊÇË«ÒýºÅµÄUnicodeתÒå×Ö·û
System.out.println("a\u0022.length()
+\u0022b".length());
}
}
¶Ô¸Ã³ÌÐòµÄÒ»ÖֺܷôdzµÄ·ÖÎö»áÈÏΪËüÓ¦¸Ã´òÓ¡³ö26£¬ÒòΪÔÚÓÉÁ½¸öË«ÒýºÅ"a\u0022.length()+\u0022b"±êʶµÄ×Ö·û´®Ö®¼ä×ܹ²ÓÐ26¸ö×Ö·û¡£
ÉÔ΢ÉîÈëÒ»µãµÄ·ÖÎö»áÈÏΪ¸Ã³ÌÐòÓ¦¸Ã´òÓ¡16£¬ÒòΪÁ½¸öUnicodeתÒå×Ö·ûÿһ¸öÔÚÔ´ÎļþÖж¼ÐèÒªÓÃ6¸ö×Ö·ûÀ´±íʾ£¬µ«ÊÇËüÃÇÖ»±íʾ×Ö·û´®ÖеÄÒ»¸ö×Ö·û¡£Òò´ËÕâ¸ö×Ö·û´®Ó¦¸Ã
Ïà¹ØÎĵµ£º
Java 1.1ÔöÌíÁËÒ»ÖÖÓÐȤµÄÌØÐÔ£¬ÃûΪ¡°¶ÔÏóÐòÁл¯¡±£¨Object Serialization£©¡£ËüÃæÏòÄÇЩʵÏÖÁËSerializable½Ó¿ÚµÄ¶ÔÏ󣬿ɽ«ËüÃÇת»»³ÉһϵÁÐ×Ö½Ú£¬²¢¿ÉÔÚÒÔºóÍêÈ«»Ö¸´»ØÔÀ´µÄÑù×Ó¡£ÕâÒ»¹ý³ÌÒà¿Éͨ¹ýÍøÂç½øÐС£ÕâÒâζ×ÅÐòÁл¯»úÖÆÄÜ×Ô¶¯²¹³¥²Ù×÷ϵͳ¼äµÄ²îÒì¡£»»¾ä»°Ëµ£¬¿ÉÒÔÏÈÔÚWindows»úÆ÷ÉÏ´´½¨Ò»¸ö¶ÔÏ󣬶ÔÆäÐòÁл¯£ ......
³ÌÐòÖеıàÂë·ç¸ñÈÃÎÒÃǵıà³Ì¹¤×÷±äµÃÇáËÉ£¬ÌرðÊdzÌÐòά»¤Ô±£¬ËûÃÇÒª¾³£ÔĶÁÆäËûÈ˱àдµÄ³ÌÐò±àÂ룬ÕâÒ»µãÓÈÆäÍ»³ö¡£±àÂë¹æ·¶´Ó¸ù±¾ÉϽâ¾öÁ˳ÌÐòά»¤Ô±µÄÄÑÌ⣻¹æ·¶µÄ±àÂëÔĶÁºÍÀí½âÆðÀ´¸üÈÝÒ×£¬Ò²¿ÉÒÔ¿ìËٵIJ»·ÑÁ¦ÆøµÄ½è¼ø±ðÈ˵ıàÂë¡£¶Ô½«À´Î¬»¤Äã±àÂëµÄÈËÀ´Ëµ£¬ÄãµÄ±àÂëÔ½ÓÅ»¯£¬ËûÃǾÍԽϲ»¶ÄãµÄ±àÂ룬Àí½âÆðÀ´Ò²¾ÍÔ½ ......
ºÃ¼¸Ììûд²©¿Í£¬Õ⼸Ì춼æ×Åд´úÂ룬ÖÐÆÚ¼ì²é¸Õ¹ý£¬ºóÃæʣϵÄʱ¼äʵ¼ÊºÜÉÙÁË£¬Òª×¥½ôʱ¼äÁË£¬ÂíÉϾ͵ñÏÒµ×ßÈËÁË¡£ÑÔ¹éÕý´«£¬ÔÚ±àÂë¹ý³ÌÖÐÓöµ½µÄÎÊÌ⣬ÎÒ¶¼¼Ç¼ÔÚ²©¿ÍÖУ¬·½±ãÒÔºó²éÔÄдÂÛÎÄ¡£Õâ´ÎÊǼÆËãÍøÂçµØÖ·£¬¸ø³öÒ»¸öipºÍËüµÄ×ÓÍøÑÚÂ룬ͨ¹ýÔËËãµÃµ½ÍøÂçµØÖ·£¨»òÕß˵ÊÇÍøÂçºÅ£©
public static ......
public class OperatExcel
{
private File file = new File(ParamenterInit.SRCEXCELPATH);
private File outfile = new File(ParamenterInit.DESTEXCELPATH);
private static String sheetName = ParamenterInit.SHEETNAME;
  ......