Eclipse Java×¢ÊÍÄ£°åÉèÖÃÏê½â
Eclipse Java×¢ÊÍÄ£°åÉèÖÃÏê½â ===²Î¿¼
http://blog.csdn.net/ahhsxy/archive/2009/09/11/4542682.aspx
¼òµ¥Ä£°åÀý×Ó£º
view
plain
copy
to clipboard
print
?
<?xml version=
"1.0"
encoding=
"UTF-8"
?><templates><template autoinsert=
"true"
context=
"fieldcomment_context"
deleted=
"false"
description=
"×ֶεÄ×¢ÊÍ"
enabled=
"true"
id=
"org.eclipse.jdt.ui.text.codetemplates.fieldcomment"
name=
"fieldcomment"
>
/**
* @Fields ${field} : ${todo}(ÓÃÒ»¾ä»°ÃèÊöÕâ¸ö±äÁ¿±íʾʲô)
*/
</template><template autoinsert="true"
context=
"gettercomment_context"
deleted=
"false"
description=
"getter ·½·¨µÄ×¢ÊÍ"
enabled=
"true"
id=
"org.eclipse.jdt.ui.text.codetemplates.gettercomment"
name=
"gettercomment"
>
/**
* @return ${bare_field_name}
*/
</template><template autoinsert="true"
context=
"constructorcomment_context"
deleted=
"false"
description=
"´´½¨µÄ¹¹Ô캯ÊýµÄ×¢ÊÍ"
enabled=
"true"
id=
"org.eclipse.jdt.ui.text.codetemplates.constructorcomment"
name=
"constructorcomment"
>
/**
* <p>Title:${file_name} </p>
* <p>Description: ¹¹Ô캯
Êý</p>
* ${tags}
*/
</template><template autoinsert="true"
context=
"filecomment_context"
deleted=
"false"
description=
"ÒÑ´´½¨µÄ Java ÎļþµÄ×¢ÊÍ"
enabled=
"true"
&
Ïà¹ØÎĵµ£º
JavaÈí¼þ¿ª·¢¹æ·¶
°æ±¾ËµÃ÷
°æ±¾
×÷Õß
ÈÕÆÚ
±¸×¢
Õ÷Çó°æ
ÑîÕÂÔÆ¡¢ÌÆÃ÷ʤ
2006-09-05
Ìá³ö³õʼ°æ±¾£¬·Ö·¢¸÷Ïà¹ØÈËÔ±
ÐÞ¶©°æ
ÌÆÃ÷ʤ
2006-09-29
Õ÷Çó´ó¼ÒÒâ¼ûµÄ»ù´¡ÉÏ£¬Öƶ©µÄÐÞ¶©°æ
1.0°æ
ÌÆÃ÷ʤ
2007-09-18
×ܽáÇ°ÆÚ¿ª·¢¾Ñ飬¶Ô¿ª·¢¹æ·¶½øÐÐÉý¼¶¡£¼Ó´Öº£ÂÌɫΪÐÞ¶©ÄÚÈÝ£¬À¶É«ÎªÐÂÔöÄÚÈÝ¡£
2.0°æ
ÌÆÃ÷ʤ ......
Ç°¼¸Ìì¿´µ½javaµÄ1.5APIÖÐмÓÁËÒ»¸öºÜÓÐÓô¦µÄÀàjava.util.Scanner¡£Ç°¼¸Ì컹ÔÚ˼¿¼javaÖеÄÃüÁîÐÐÖеÄÊý¾ÝÊäÈ룬¿´µ½Õâ¸öÀàÖ®ºó£¬ºöÈ»·¢ÏÖ£¬ÔÀ´sunÒ²²»ÊÇûÓÐ×¢Òâµ½ÕâÑùµÄÎÊÌâ°¡£¬ÈÃÎÒÃÇ¿´¿´ËûÃǶ¼ÎªÎÒÃÇ×öÁËЩʲô°É£º
ÔÚjavaµÄÎĵµÖУ¬ÎÒÃÇ¿ÉÒÔÕÒµ½Õâ¸öÀý×Ó£º
Scanner sc = ne ......
ÏÂÃæÕâ¶Î³ÌÐòÊÇʵÏÖÁËÁ½¸ö²Ù×÷Êý¼Ó·¨µÄ²Ù×÷ÔËËã
/**
*the First Java
*@author wanglei
*@version 1.0
*/
import java.util.Scanner;
public class FirstJava{
public static void main(String[] args){
/**ÉùÃ÷Á½¸öÕûÐͱäÁ¿*/
int opA ......
java StringÓëunicode
java.nio.charset.Charset
public static Charset defaultCharset()
´Ë·½·¨µÄ×÷Ó㺷µ»ØjavaÐéÄâ»úµÄĬÈÏ×Ö·û¼¯£¬Ä¬ÈϵÄ×Ö·û¼¯È¡¾öÓÚ²Ù×÷ϵͳµÄ×Ö·û¼¯¡£
java.lang.String
public byte[] getBytes()
´Ë·½·¨µÄ×÷Ó㺱àÂë×Ö·û´®µ½Ò»¸ö×Ö½ÚÁ÷ÐòÁУ¬´Ëʱ²ÉÓõıàÂëÊÇƽ̨ĬÈϵıàÂ룬Èç¹ûÏë»ñµÃÖ¸¶ ......
JavaÒÔ»ù´¡Àà¿âJFC£¨Java Foundation Class£©µÄÐÎʽΪ³ÌÐòÔ±Ìṩ±à³Ì½Ó¿ÚAPI£¬Àà¿âÖеÄÀà°´ÕÕÓÃ;¹éÊôÓÚ²»Í¬µÄ°üÖС£
£¨Ò»£©java.lang°ü
¡¡¡¡Java×î³£Óõİü¶¼ÊôÓڸðü£¬³ÌÐò²»ÐèҪעÈë´Ë°ü£¬¾Í¿ÉÒÔʹÓøðüÖеÄÀ࣬ÀûÓÃÕâЩÀà¿ÉÒÔÉè¼Æ×î»ù±¾µÄJava³ÌÐò¡£
¡¡¡¡StringÀ࣬ÌṩÁË×Ö·û´®Á¬½Ó¡¢±È½Ï¡¢×Ö·û¶¨Î»¡¢×Ö·û´®´òÓ¡µ ......