Java ¹ýÂ˲»°²È«×Ö·û
public static String htmlEncode(String pstrWord)
{
if((pstrWord != null)&&(pstrWord != ""))
{
StringBuffer pobjBuffer = new StringBuffer();
int j = pstrWord.length();
for (int i = 0; i < j; i++)
{
char c = pstrWord.charAt(i);
switch (c)
{
case 60 :
pobjBuffer.append("<");
break;
case 62 :
pobjBuffer.append(">");
break;
case 38 :
pobjBuffer.append("&");
break;
case 34 :
pobjBuffer.append(""");
break;
case 169 :
pobjBuffer.append("©");
break;
case 174 :
pobjBuffer.append("®");
break;
case 165 :
pobjBuffer.append("¥");
break;
case 8364 :
pobjBuffer.appe
Ïà¹ØÎĵµ£º
amf3,adobe´´Á¢µÄÊý¾Ý¸ñʽÓÉÓÚʹÓöþ½øÖÆ,ûÓÐÁËxmlµÈÈßÓàµÄ×Ö·ûÊý¾ÝÁ¿»áÉٺܶà!¶øÇҺܶà²âÊÔ±¨¸æ¾ù²â³öamf´«µÝЧ¹ûºÜ¸ß.
Õâ´ÎÊÇʹÓÃFlexµÄSocketÀàÓëjavaµÄ·þÎñ¶Ë½øÐÐͨÐÅ,
²½ÖèÊÇ:
¿Í»§¶ËÓÃsocketÀàÁ¬½Ójava·þÎñÆ÷,
ʹÓòéѯ×Ö·û´®½øÐÐÇëÇó,
java½«Êý¾Ý·âװΪhashmap,×îºó½«hashmapÓÃamfoutputstreamÊä³öÖÁflexµÄ¿Í» ......
ÐòÁл¯¾ÍÊǰѶÔÏóת»»ÎªÁ÷ÒÔ´æ´¢µ½Îļþ»ò´«Êä¸øÁíÒ»¸ö³ÌÐò£»·´ÐòÁл¯¾ÍÊÇ°ÑÁ÷ת»»Îª¶ÔÏó¡£JAVAµÄÐòÁл¯£¬ÊÇͨ¹ýÊÇjava.io.Serializable½Ó¿ÚÀ´ÊµÏֵġ£¸Ã½Ó¿Ú²»°üº¬Èκη½·¨£¬½ö±ê¼ÇÊÇ·ñ¿É±»ÐòÁл¯¡£¿ÉÐòÁл¯µÄÀ࣬Æä³ÉÔ±Ò²±ØÐëÊÇ¿ÉÐòÁл¯µÄ£¨Èç¹ûÓгÉÔ±²»Äܱ»ÐòÁл¯£¬Ôò±ØÐ뽫¸Ã±äÁ¿±ê¼ÇΪ£ºtransient£¨Ë²Ì¬£©£¬ÐòÁл¯Ê±£¬» ......
String usrHome = System.getProperty("user.home");
ÏÂÃæÊÇSystemµÄ²ÎÊýÁбí
Key Meaning
------------------- ------------------------------
"file.separato ......
ÔÚÏÖ´úµÄ²Ù×÷ϵͳÖУ¬ÓÐÒ»¸öºÜÖØÒªµÄ¸ÅÄî¨D¨DỊ̈߳¬¼¸ºõËùÓÐÄ¿Ç°Á÷ÐеIJÙ×÷ϵͳ¶¼Ö§³ÖỊ̈߳¬Ïß³ÌÀ´Ô´ÓÚ²Ù×÷ϵͳÖнø³ÌµÄ¸ÅÄ½ø³ÌÓÐ×Ô¼ºµÄÐéÄâµØÖ·¿Õ¼äÒÔ¼°ÕýÎĶΡ¢Êý¾Ý¶Î¼°¶ÑÕ»£¬¶øÇÒ¸÷×ÔÕ¼Óв»Í¬µÄϵͳ×ÊÔ´£¨ÀýÈçÎļþ¡¢»·¾³±äÁ¿µÈµÈ£©¡£Óë´Ë²»Í¬£¬Ï̲߳»Äܵ¥¶À´æÔÚ£¬ËüÒÀ¸½ÓÚ½ø³Ì£¬Ö»ÄÜÓɽø³ÌÅÉÉú¡£Èç¹ûÒ»¸ö½ø³ÌÅÉÉú³öÁË ......