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

[vb]ʹÓÃvbͳ¼Æ.javaµÄÐÐÊý

 ¹¤×÷ÐèÒª£¬Õë¶ÔjavaÎļþ£¬×÷ÁËÒ»¸öÐÐÊýͳ¼ÆµÄ¹¤¾ß¡£Í³¼ÆµÄÖ÷Òª´úÂëÈçÏ£º
    Set srcIn = fso.OpenTextFile(fileNm, ForReading)
    
    Do While Not srcIn.AtEndOfStream
        buf = srcIn.ReadLine
       
        'java×ÜÐÐÊý
        allLinex = allLinex + 1
        'java¿Õ°×ÐÐ
        If Not flg And Trim(Replace(buf, vbTab, "")) = "" Then
            'Debug.Print fileNm & ":" & allLinex
            blankLinex = blankLinex + 1
        End If
        'java×¢ÊÍÐÐ
        If flg Then
            If InStr(buf, "*/") > 0 Then
                flg = False
            End If
            commentLinex = commentLinex + 1
        ElseIf InStr(Trim(Replace(buf, vbTab, "")), "//") = 1 Then
            commentLinex = commentLinex + 1
        End If
        If InStr(Trim(Replace(buf, vbTab, "")), "/*") = 1 Then
            flg = True
            commentLinex = commentLinex + 1
        End If
        If flg An


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

ÓÃRational RoseÄæÏò¹¤³Ì(java)Éú³ÉÀàͼ

 http://hi.baidu.com/suofang/blog/item/b4190de9846ea53eb80e2d1e.html
Äõ½ÁËÏîÄ¿¿ò¼Ü¹¤³Ì´úÂëȴûÓÐumlͼ£¬ÄÇô·½·¨Ö®¼äµÄµ÷ÓùØÏµ¹¦ÄÜÁ÷ת¾Í²»ÈÝÒ׿´³öÀ´£¬ÄÇôÈçºÎ²úÉúÀàÍ¼ÄØ?
1.н¨Ò»¸öROSE¹¤³Ì£¬Ñ¡ÔñJ2EEÄ£°å,
2.Èçͼ
3.ÔÚ³öÏֵĽçÃæÖУ¬CLASSPATHÖмÓÈëÔ´´úÂëµÄĿ¼£¬¼ÓÈëÖ§³ÖµÄ°ü£¬µã'ADD RECURSIVE'µã ......

java ¿àÓëÀÖ£¨²Ý¸å£©

  Ñ¡ÔñÁËjava£¬Ò²¾ÍÊÇÑ¡ÔñÁËÒ»Ìõ¹âÃ÷¶ø¿²¿ÀµÄµÀ·¡£ËµËû¹âÃ÷ÊÇÒòΪӦÓõĵط½ÈÕÒæ¹ã·º£¬È«ÇòÓкܴóµÄ¿ª·¢ÈºÌåÔÚΪ֮æµ£¬¿ªÔ´ÏîĿӦÓо¡ÓУ»ËµËû¿²¿À£¬ÊÇÒòÎªËæ×ÅjavaµÄ·¢Õ¹£¬ÏÖÔÚÓÐÁËÌ«¶àµÄ·ÖÖ§¼¼Êõj2ee 13ÖÖ¼¼Êõ£¬Ì«¶àµÄ¿ò¼Ü(´Óµ×²ãµ½Ò³Ãæ)Èç¹ûÒªÕÆÎÕ»¹Õæ²»ÊǼþÈÝÒ×µÄÊÂÇ飬¶øÇÒ¿ªÔ´µÄ¶«Î÷ÓÀÎÞÖ¹¾¡µÄÔÚÉý¼¶£¬ÔÚÍÆ³Â ......

javaÃæÊÔÌâ1

l    JBS
1.Áоٳö 10¸öJAVAÓïÑÔµÄÓÅÊÆ
a:Ãâ·Ñ£¬¿ªÔ´£¬¿çƽ̨(ƽ̨¶ÀÁ¢ÐÔ)£¬¼òµ¥Ò×Ó㬹¦ÄÜÍêÉÆ£¬ÃæÏò¶ÔÏ󣬽¡×³ÐÔ£¬¶àỊ̈߳¬½á¹¹ÖÐÁ¢£¬ÆóÒµÓ¦ÓõijÉÊìÆ½Ì¨, ÎÞÏßÓ¦ÓÃ
2.ÁоٳöJAVAÖÐ10¸öÃæÏò¶ÔÏó±à³ÌµÄÊõÓï
a:°ü£¬À࣬½Ó¿Ú£¬¶ÔÏó£¬ÊôÐÔ£¬·½·¨£¬¹¹ÔìÆ÷£¬¼Ì³Ð£¬·â×°£¬¶à̬£¬³éÏ󣬷¶ÐÍ
3.ÁоٳöJAVAÖÐ6¸ ......

javaÃæÊÔÌâ2

 18.×öÒ»¸öµ¥×ÓģʽµÄÀֻ࣬¼ÓÔØÒ»´ÎÊôÐÔÎļþ
package com.softeem.demo;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
*@authorleno
*µ¥×Óģʽ£¬±£Ö¤ÔÚÕû¸öÓ¦ÓÃÆÚ¼äÖ»¼ÓÔØÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ