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

java ºÍ C# ͨÓüÓÃܽâÃÜ

java ´úÂë
package util;
import java.io.UnsupportedEncodingException;
import dao.socket.OperType;
public class Encrpt {
 private String key;
 public Encrpt() {
  this("sitow");
 }
 public Encrpt(String key) {
  this.key = key;
 }
 private final String[] reference = new String[] { "0a", "0b", "0c", "0d",
   "0e", "0f", "0g", "0h", "0i", "0j", "0k", "0l", "0m", "0n", "0o",
   "0p", "0q", "0r", "0s", "0t", "0u", "0v", "0w", "0x", "0y", "0z",
   "1a", "1b", "1c", "1d", "1e", "1f", "1g", "1h", "1i", "1j", "1k",
   "1l", "1m", "1n", "1o", "1p", "1q", "1r", "1s", "1t", "1u", "1v",
   "1w", "1x", "1y", "1z", "2a", "2b", "2c", "2d", "2e", "2f", "2g",
   "2h", "2i", "2j", "2k", "2l", "2m", "2n", "2o", "2p", "2q", "2r",
   "2s", "2t", "2u", "2v", "2w", "2x", "2y", "2z", "3a", "3b", "3c",
   "3d", "3e", "3f", "3g", "3h", "3i", "3j", "3k", "3l", "3m", "3n",
   "3o", "3p", "3q", "3r", "3s", "3t", "3u", "3v", "3w", "3x", "3y",
   "3z", "4a", "4b", "4c", "4d", "4e", "4f", "4g", "4h", "4i", "4j",
   "4k", "4l", "4m", "4n", "4o", "4p", "4q", "4r", "4s", "4t", "4u",
   "4v", "4w", "4x", "4y", "4z", "5a", "5b", "5c", "5d", "5e", "5f",
   "5g", "5h", "5i", "5j", "5k", "5l", "5m", "5n", "5o", "5p", "5q",
   "5r", "5s", "5t", "5u", "5v", "5w", "5x", "5y", "5z", "6a", "6b",
   "6c", "6d", "6e", "6f", "6g", "6h", "6i", "6j", "6k", "6l", "6m",
   "6n", "6o", "6p", "6q", "6r", "6s", "6t", "6u", "6v", "6w", "6x",
   "6y", "6z", "7a", "7b", "7c", "7d", "7e", "7f", "7g", "7h", "7i",
   "7j", "7k", "7l", "7m", "7n", "7o", "7p", "7q", "7r", "7s", "7t",
   "7u", "7v", "7w", "7x", "7y", "7z", "8a", "8b", "8c", "8d", "8e",
   


Ïà¹ØÎĵµ£º

java»ñÈ¡µ±Ç°Â·¾¶[ת]

java»ñÈ¡µ±Ç°Â·¾¶[ת]
¹Ø¼ü×Ö: java ·¾¶
java »ñÈ¡µ±Ç°Â·¾¶
 
1 ¡¢ÀûÓà System.getProperty() º¯Êý»ñÈ¡µ±Ç°Â·¾¶£º
System.out.println(System.getProperty("user.dir"));//user.dir Ö¸¶¨Á˵±Ç°µÄ·¾¶
 
2 ¡¢Ê¹Óà File ÌṩµÄº¯Êý»ñÈ¡µ±Ç°Â·¾¶£º
File directory = new File("");// É趨Ϊµ±Ç°Îļþ ......

javaÖÐthisºÍsuperµÄÓ÷¨

thisµÄÓ÷¨ÔÚjavaÖдóÌå¿ÉÒÔ·ÖΪ3ÖÖ£º
 //1.ÆÕͨµÄÖ±½ÓÒýÓÃ
class test {
   private int x,y;
   public test(int x,int y) {
       setX(x);//Ò²¿ÉÒÔдΪthis.setX(x);ÕâÖÖÇé¿öÏÂthis¿ÉÒÔÊ¡ÂÔ.
   }
}
//2.·½·¨ÖеÄij¸öÐβÎÃûÓ뵱ǰ¶ÔÏóµÄÄ ......

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

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

JAVA³£ÓÃÊýѧÀà·½·¨


<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......

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. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ