Java ÕýÔò±í´ïʽ ×Ö·û´®Æ¥Åä
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class JavaBasic {
public static void main(String[] args){
StringBuffer sd = new StringBuffer();
String hhhString="adlkll";
Pattern pattern = Pattern.compile("[A-Za-z]*");
Matcher matcher = pattern.matcher(hhhString);
if (matcher.matches()){
System.out.println("·ûºÏÒªÇó");
} else {
System.out.println("²»·ûºÏÒªÇó"); //ÊÇ·ñ·ûºÏÕýÔò±í´ïʽÄÚÈÝ
}
// hhhString=hhhString.replace(" ", ",");
String[] ss1=hhhString.trim().split(" ");
System.out.println(ss1.length);
for(int i=0;i<ss1.length;i++){
sd.append(ss1[i]); //×Ö·û´®Á¬½Ó,Èç¹ûÑ¡lengsh-i,¿ÉÒÔÈ·¶¨Ñ¡µÚ¼¸¸ö×Ö·û´®
}
System.out.println(sd.toString());
StringBuffer sb = new StringBuffer();
String s = " ab ce as";
String[] ss =s.trim().split(" ");
System.out.println(ss.length);
for(int i=0;i<ss.length;i++){
sb.append(ss[i]); //ÏÔʾȫ²
Ïà¹ØÎĵµ£º
AjaxSwingÊÇÒ»¸öרΪJava SwingÓ¦Óà ³ÌÐò´òÔìµÄWeb¿ª·¢Æ½Ì¨¡£Ê¹ÓÃAjaxSwing£¬¿ÉÒÔʹΪJava×ÀÃæÓ¦ÓóÌÐòתΪWebÓ¦ÓᣠAjaxSwing¿ÉÒÔ±»¿´×÷ÊÇÒ»¸öJavaµ½HTMLµÄת»»Æ÷£¬Æä³ÌÐò¿ÉÒÔÔÚÔËÐÐʱ´´½¨±»ä¯ÀÀÆ÷½âÎöµÄHTMLºÍ JavaScript¡£ÁíÍ⣬ʹÓÃAjaxSwingÎÞÐè¶Ô³ÌÐòºÍÒµÎñÂß¼½øÐдó·ùÐÞ¸ÄÐ޸ģ¬ËüÔÊÐí¿ª·¢ÕßʹÓñê×¼Swing×é¼þÀ´Êµ ......
JAVA±ÊÊÔÌ⾫»ª°æ1.0
public class Test2
{
public static void main(String[] args)
{
Float a = new Float(3.4);
&n ......
Éè¼Æģʽ
Ò»¸ö³ÌÐòÔ±¶ÔÉè¼ÆģʽµÄÀí½â:
“²»¶®”ΪʲôҪ°ÑºÜ¼òµ¥µÄ¶«Î÷¸ãµÃÄÇô¸´ÔÓ¡£ºóÀ´Ëæ×ÅÈí¼þ¿ª·¢¾ÑéµÄÔö¼Ó²Å¿ªÊ¼Ã÷°×ÎÒËù¿´µ½µÄ“¸´ÔӔǡǡ¾ÍÊÇÉè¼ÆģʽµÄ¾«ËèËùÔÚ£¬ÎÒËùÀí½âµÄ“¼òµ¥”¾ÍÊÇÒ»°ÑÔ¿³×¿ªÒ»°ÑËøµÄģʽ£¬Ä¿µÄ½ö½öÊÇ×ÅÑÛÓÚ½â¾öÏÖÔÚµÄÎÊÌ⣬¶øÉè¼ÆģʽµÄ“¸´ÔÓ&rdq ......
commons-digester.jar
Digester»ùÓÚ¹æÔòµÄXMLÎĵµ½âÎö,Ö÷ÒªÓÃÓÚXMLµ½Java¶ÔÏóµÄÓ³Éä.
commons-beanutils.jar
Ìṩ¶ÔJava ·´ÉäºÍ×ÔÊ¡APIµÄ°ü×°.
aspectjweaver.jar
ÓÃÓÚÔÚSpring 2.0Öм¯³ÉAspectJ AspectJ LTWÖ¯ÈëÆ÷
ognl.jar
OGNLÊÇObject-Graph Navigation LanguageµÄËõд£¬ËüÊÇÒ»ÖÖ¹¦ÄÜÇ¿´óµÄ±í´ïʽÓïÑÔ£¨E ......
1.Ì⣺javaÀúÊ·£¿
´ð£ºJava Ö®¸¸Golsling
1995 Äê5 ÔÂ23 ÈÕ Java µ®Éú
1998 Äê12 ÔÂ 1.2 °æ±¾Java2 J2SE J2EE J2ME
2004 Äê12 ÔÂ 1.5 °æ±¾(5.0) Java JavaSE JavaEE JavaME
2.Ì⣺JavaSE£¬JavaEE£¬JavaME£¿
´ð£ºJavaSE ---Java ±ê׼ƽ̨
JavaEE ---ÆóÒµ¼ ......