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

JavaÓïÑÔÈçºÎ·ÃÎʲ»Í¬×Ö·û¼¯µÄOracleÊý¾Ý

Ò»¡¢java·ÃÎÊÖÐÎÄOracleÊý¾Ý¿âÉÏÁ¬½ÓµÄUS7ASCIIÊý¾Ý¿â
1¡¢¶Á·½·¨
public String convertLink_DB(String s) {
  if(s != null){
   try{
    byte[] b = s.getBytes();
    for(int i=0; i<b.length; i++){
     b[i] = (byte)(b[i]-128);
    }
    return new String(b, "gb2312");
   }catch(Exception e){
    e.printStackTrace();
    return "";
   }
  }
  return "";
 }
2¡¢Ð´·½·¨
public String convertLink_DB(String s) {
  if(s != null){
   try{
    byte[] b = s.getBytes();
    for(int i=0; i<b.length; i++){
     b[i] = (byte)(b[i]+128);
    }
    return new String(b, "gb2312");
   }catch(Exception e){
    e.printStackTrace();
    return "";
   }
  }
  return "";
 }
Ò»¡¢java·ÃÎÊÓ¢ÎÄOracleÊý¾Ý¿â
1¡¢¶Á
new String(s, "gb2312");
2¡¢Ð´
new String(s, "8859-1");


Ïà¹ØÎĵµ£º

Java µÄͼÐÎÓû§½çÃæAWT°ü


¢AWT£ºAbstract Window Toolkit
¢GUI£º Graphical User Interface
          ͨ¹ýÌṩ²Ëµ¥¡¢°´Å¥¡¢±êÇ©±êʶ¡¢Êó±êµÈ£¬Íê³É¶Ô¼ÆËã»ú·¢³öÖ¸Áî¡¢Æô¶¯Ó¦ÓóÌÐòµÈ²Ù×÷ÈÎÎñ¡£
¢ÔÚjavaÖУ¬AWTÊÇÓÃÀ´´¦ÀíͼÐÎ×î»ù±¾µÄ·½Ê½£¬Ëü¿ÉÒÔÓÃÀ´´´½¨javaµÄappletºÍ´°¿Ú¡ ......

javaµÝ¹éʵÏÖµÄÃÔ¹¬ÓÎÏ·

public class Migong {
 
    private int gard[][]={  {1,1,1,1,0,1,1,1},
                         {0,0,0,1,1,1,1,1},
       ......

³ÉΪjava¸ßÊֵİ˴óÌõ¼þ

ÊÀ½çÉϲ¢Ã»ÓгÉΪ¸ßÊֵĽݾ¶£¬µ«Ò»Ð©»ù±¾Ô­ÔòÊÇ¿ÉÒÔ×ñÑ­µÄ¡£ 
1¡¢ÔúʵµÄ»ù´¡ 
Êý¾Ý½á¹¹¡¢ÀëÉ¢Êýѧ¡¢±àÒëÔ­Àí£¬ÕâЩÊÇËùÓмÆËã»ú¿ÆÑ§µÄ»ù´¡£¬Èç¹û²»ÕÆÎÕËüÃÇ£¬ºÜÄÑд³ö¸ßˮƽµÄ³ÌÐò¡£³ÌÐòÈËÈ˶¼»áд£¬µ«µ±Äã·¢ÏÖдµ½Ò»¶¨³Ì¶ÈºÜÄÑÔÙÌá¸ßµÄʱºò£¬¾ÍÓ¦¸ÃÏëÏëÊDz»ÊÇÒª»Ø¹ýÍ·À´Ñ§Ñ§ÕâЩ×î»ù±¾µÄÀíÂÛ¡£²»ÒªÒ»¿ªÊ¼¾ÍÈ ......

javaͼƬˮӡ

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.font.TextAttribute;
import java.awt.image.BufferedImage;
import java.io.FileOutputStream;
import java.text.AttributedCharacterIterator;
import java.text. ......

javaÖеĴúÂëÉú³É¹¤¾ß¼òµ¥ÂÞÁÐ

JavaÖÐÒ²ÓÐÀàËÆÓÚcodesmithµÄ´úÂëÉú³É¹¤¾ß£¬²»¹ý¿ªÔ´µÄ»òÃâ·ÑµÄͦ¶à£¬ÒÔϼòµ¥½éÉÜ£º
1.spring roo
  spring¹Ù·½ÏîĿ֮һ¡£
2.m2Spring
  Ã²ËÆÉÌÒµµÄ¡£
3.springside
   ¹ú²úµÄ£¬×÷Õßcsdn½­Äϰ×ÒÂ
4.rapid-framework
  ºÃÏñÒ²Êǹú²úµÄ
5. seam gen
    jboss seam ´úÂë× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ