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

java¶ÁÈ¡htmlÎļþ²¢³éÈ¡a hrefÏà¹ØÁ¬½ÓºÍÁ´½Ó±êÌâ

import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.*;
import java.io.*;
import java.nio.CharBuffer;
public class RegTest
{
    public static void main(String[] args)
    {
        //¶¨ÒåÒ»¸öÎÄÕÂÁбíÀà¡£°üº¬ÎÄÕµÄÍøÖ·ºÍÎÄÕ±êÌâ
        class ArticleList{
            String URLs;
            String title;
            public ArticleList(){}
            public ArticleList(String t,String u)
            {
                title=t;
                URLs=u;
                
            }
                   
            public String toString()
            {
                return ("±êÌ⣺"+title+" ÍøÖ·£º"+URLs+" ");
               
            }
        }
        //----------start---¶ÁÈ¡HTMLÎļþÖÁbuff--------------------------------------------------------
       


Ïà¹ØÎĵµ£º

´«ÖDz¥¿Íjavaѧϰ Spring³õ²½

ÎÒ½ñÌìѧϰÁËÐìÀÏʦ½²µÄSpring֪ʶ£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
·´Ïò¿ØÖÆ(IOC)
£º
      
bean¹¤³§:×î¼òµ¥µÄÈÝÆ÷£¬ÌṩÁË»ù´¡µÄÒÀÀµ×¢ÈëÖ§³Ö¡£´´½¨¸÷ÖÖÀàÐ͵ÄBean.
Ó¦ÓÃÉÏÏÂÎÄ:½¨Á¢ÔÚbean¹¤³§»ù´¡Ö®ÉÏ£¬Ìṩϵͳ¼Ü¹¹·þÎñ¡£
ClassPathXmlApplicationContext:´ÓÀà·¾¶ÖмÓÔØ¡£
FileSystemXmlAp ......

JavaÖÐÈçºÎÅжÏÒ»¸ö×Ö·û´®µÄ¸ñʽ

/**
* check if the odivalue has a legal version format[0.0.0.0]
* @param odivalue:The odivalue extracted from SOAP
* @return :a boolean value,true or false
*/
public static boolean isCorrectVersion(String odivalue) {
// TODO Auto-generated method stub
Pattern pattern = Patter ......

javaÖÐhashcode()ºÍequals()µÄÏê½â

תÌû×Ô http://www.javaeye.com/topic/257191
javaÖÐhashcode()ºÍequals()µÄÏê½â
1. Ê×ÏÈequals()ºÍhashcode()ÕâÁ½¸ö·½·¨¶¼ÊÇ´ÓobjectÀàÖм̳йýÀ´µÄ¡£
equals()·½·¨ÔÚobjectÀàÖж¨ÒåÈçÏ£º
  public boolean equals(Object obj) {
return (this == obj);
}
ºÜÃ÷ÏÔÊǶÔÁ½¸ö¶ÔÏóµÄµØÖ·Öµ½øÐеıȽϣ¨¼´±È½Ï ......

¶ÁÎļþ£¨java£©


ʹÓÃJava²Ù×÷Îı¾ÎļþµÄ·½·¨Ïê½â
ÕªÒª: ×î³õjavaÊDz»Ö§³Ö¶ÔÎı¾ÎļþµÄ´¦ÀíµÄ£¬ÎªÁËÃÖ²¹Õâ¸öȱº¶¶øÒýÈëÁËReaderºÍWriterÁ½¸öÀ࣬ÕâÁ½¸öÀ඼ÊdzéÏóÀ࣬WriterÖÐ write(char[] ch,int off,int
length)£¬flush()ºÍclose()·½·¨Îª³éÏó·½·¨£¬ReaderÖÐread(char[] ch,int off,int length)ºÍclose()·½·¨ÊdzéÏó·½·¨¡£×ÓÀàÓ¦¸Ã·Ö± ......

AjaxSwing 3.0·¢²¼ ¿É½«Java Swingת»¯ÎªAjax

AjaxSwingÊÇÒ»¸öרΪJava SwingÓ¦Óà ³ÌÐò´òÔìµÄWeb¿ª·¢Æ½Ì¨¡£Ê¹ÓÃAjaxSwing£¬¿ÉÒÔʹΪJava×ÀÃæÓ¦ÓóÌÐòתΪWebÓ¦ÓᣠAjaxSwing¿ÉÒÔ±»¿´×÷ÊÇÒ»¸öJavaµ½HTMLµÄת»»Æ÷£¬Æä³ÌÐò¿ÉÒÔÔÚÔËÐÐʱ´´½¨±»ä¯ÀÀÆ÷½âÎöµÄHTMLºÍ JavaScript¡£ÁíÍ⣬ʹÓÃAjaxSwingÎÞÐè¶Ô³ÌÐòºÍÒµÎñÂß¼­½øÐдó·ùÐÞ¸ÄÐ޸ģ¬ËüÔÊÐí¿ª·¢ÕßʹÓñê×¼Swing×é¼þÀ´Êµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ