java³ÌÐòÔ±±í°×
ÎÒÄܳéÏó³öÕû¸öÊÀ½ç£¬µ«ÎÒ³éÏó²»³öÄ㣬ÒòΪÄãÔÚÎÒÐÄÀïÊÇÄǸöô¾ßÌ壬ËùÒÔÎÒµÄÊÀ½ç±äµÃ²¢²»ÍêÕû£¬
ÎÒ¿ÉÒÔÖØÔØÉõÖÁ¸²¸ÇÕâ¸öÊÀ½çÀïµÄÈκÎÒ»ÖÖ·½·¨£¬µ«ÊÇÎÒÈ´²»ÄÜÖØÔضÔÄãµÄ˼ÄҲÐíÃüÖÐ×¢¶¨ÁË£¬
ÄãÔÚÎÒµÄÊÀ½çÀïÓÀÔ¶µÄÀÓÉÏÁ˾²Ì¬µÄÊôÐÔ£¬¶øÎÒ²»É÷µ÷ÓÃÁË°®ÄãÕâ¸ö·½·¨£¬µ±ÎÒÒåÎÞ·µ¹ËµÄ°Ñ×Ô¼º×÷Ϊ²ÎÊý´«½øÕâ¸ö·½·¨Ê±
ÎҲŷ¢ÏÖ°®ÉÏÄãÊÇÒ»¸öËÀÑ»·£¬Ëü²»Í£µÄ·µ»Ø¶ÔÄãµÄ˼ÄîѹÈëÎÒÐÄÀïµÄ¶ÑÕ»£¬ÔÚÕâÎÞ¾¡µÄºÚÒ¹ÖУ¬ÎÒµÄÄÚ´æÀïÒѾÔÙÒ²×°²»Ï±ðÈË
ÎÒ²»Í£µÄÏòϵͳÉêÇë¿Õ¼ä£¬ µ«È´²¶»ñÒ»¸öÒì³££¬ÎÒ°®µÄÈ˲»°®ÎÒ£¬ ΪÁ˽â¾öÕâ¸öÒì³££¬ ÎÒÔ¸ÒâÐéÄâ³ö×îºóÒ»µãÄÚ´æ
°ÑËùÓÐÎÒÄÜʵÏֵķ½·¨µØַѹÈë¶ÑÕ»£¬²¢ÇÒÔÚջβѹÈë×îºóÒ»¸ö·½·¨£¬½«×Ö·û´®£¢ÎÒ°®Ä㣬Äã°®ÎÒÂ𣿣¢´« µÝ¸øÄã
Èç¹û·µ»ØֵΪÕ棬ÎÒ½«Óþ¡Ò»ÉúÈ¥°®Ä㣬 ·ñÔò£¬ÎÒ½«ÊͷŵôËùÓÐϵͳ×ÊÔ´£¬ ¸øÄã¸ü¶àµÄ¿Õ¼äÈ¥×·ÇóÐÒ¸£¡£
Ïà¹ØÎĵµ£º
ÔÚJavaÖУ¬²»Í¬µÄÀ඼ÓÐ×Ô¼ºµ¥¶ÀµÄCache»úÖÆ£¬ÊµÏֵķ½·¨Ò²¿ÉÄÜÓÐËù²»Í¬£¬ÎÄÕÂÁоÙÁËJavaÖг£¼ûµÄ¸÷ÀàCache»úÖƵÄʵÏÖ·½·¨£¬Í¬Ê±½øÐÐÁË×ۺϵıȽϡ£
OSCache
OSCacheÊǸöÒ»¸ö¹ã·º²ÉÓõĸßÐÔÄܵÄJava EE»º´æ¿ò¼Ü£¬OSCacheÄÜÓÃÓÚÈκÎJavaÓ¦ÓóÌÐòµÄÆÕͨµÄ»º´æ½â¾ö·½°¸¡£
OSCacheÓÐÒÔÏÂÌص㣺»º´æÈκζÔÏó£¬Äã¿ÉÒÔ²»ÊÜÏÞÖƵ ......
ÖйúÊÇÒ»¸öº¬ÐîµÄÃñ×壬´¦¶ÔÏóÒ»°ã¶¼µÃͨ¹ýÒ»¸ö½éÉÜÈË¡£
ÕâÊÇÒ»±¾²ûÊö΢¹ÛÉè¼ÆµÄÊ飬¶ø²»ÊDzûÊöºê¹ÛÉè¼ÆµÄÊé¡£
¡¶JavaÓëģʽ¡·Ê×ÏȲûÊöÁË´úÂëµÄÉè¼ÆÔÔò£¬ÓÖÃèÊöÁËÔõÑùÀ´´´½¨Ò»¸öÀà»ò¶ÔÏ󣬽ô½ÓןæËß´ó¼ÒÔõÑùÀ´×éÖ¯ÕâЩÀàºÍ¶ÔÏóÀ´ÊµÏÖ¹¦ÄÜ¡£ËüÊÇÉè¼Æģʽ£¬¶ø²»ÊǼܹ¹Ä£Ê½¡£
OO
ÃæÏò¶ÔÏó±à³Ì£¬ÊµÖÊÉÏÊÇÃæÏò³éÏó±à³Ì£¬¼´ ......
http://xxw8393.blog.163.com/blog/static/37256834200910432656672/
Encoding.java
package org.loon.test.encoding;
/** *//**
* <p>
* Title: LoonFramework
* </p>
* <p>
* Description:±àÂë»ù±¾ÀàÐͼ¯ºÏ
* </p>
* <p>
* Co ......
1¡¢Êä³öÖÐÎÄ¡£
JAVAÔÚÍøÂç´«ÊäÖÐʹÓõıàÂëÊÇ"ISO-8859-1"£¬¹ÊÔÚÊä³öʱÐèÒª½øÐÐת»¯£¬È磺
String str="ÖÐÎÄ";
str=new String(str.getBytes("GB2312"),"8859_1");
µ«Èç¹ûÔÚ±àÒë³ÌÐòʱ£¬Ê¹ÓõıàÂëÊÇ“GB2312”,ÇÒÔÚÖÐÎÄƽ̨ÉÏÔËÐд˳ÌÐò£¬²»»á³öÏÖ´ËÎÊÌ⣬һ¶¨Òª×¢Òâ¡£
2¡¢´Ó²ÎÊýÖжÁÈ¡ÖÐÎÄ
ÕâÕýºÃÓëÊä³öÏ ......
package com.citycollege.stw;
public class testreplace {
public static final String replace( String line, String oldString, String newString )
{
if (line == null)
{
return null ......