<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 24, 文章 - 6, 評(píng)論 - 70, 引用 - 0
    數(shù)據(jù)加載中……

    RComponent 網(wǎng)絡(luò)組件 .java版 源碼

    RComponent 網(wǎng)絡(luò)組件 .java版
    提供對(duì)FTP, NTP, POP3, SMTP編程組件
    下載
    http://www.rcomponet.com

    Full support for all standard and many optional FTP operations, passive and active modes, and support for a very wide range of FTP servers. cd , madir ,rename, update, download delete operations on directories, including wildcarding.
    NTP Client
    Get NTP server datetime.
    POP3 Client
    List all e-mails on that server and delete the e-mails of your choice of the server,Display the mail data
    SMTP Client
    SMTP client connects to a mail server to send messages. It can relay message delivery to a defined server or directly deliver messages to a recipient's server for urgent message delivery. It supports connection timeouts.


    FTPdemo.java
    /**
     * Supports client-side access. RComponent net component suite demo. version 1.1
     * www.rcomponent.com
     */
    package demo.ftp;

    import com.rcomponent.net.ftp.FtpClient;
    import com.rcomponent.util.RLicenseManager;

    public class FTPdemo {
        public static void main(String[] args) {
            RLicenseManager.Registers("RComponentnet", "9assdddfkdccbfabksaeasefkssfrabe");
            FtpClient ftpClient = new FtpClient();
            ftpClient.setHostName("        ftpClient.setPort(21);
            ftpClient.setUserName("");
            ftpClient.setPassword("");
            System.out.println("Connect status: " + ftpClient.connect());
            System.out.println("Remote file list: " + ftpClient.getFileList());
        }
    }


    NTPDemo.java
    /**
     * Supports client-side access. RComponent net component suite demo. version 1.1
     *
    www.rcomponent.com
     */
    package demo.ntp;

    import java.net.InetAddress;
    import com.rcomponent.net.ntp.NtpClient;
    import com.rcomponent.net.ntp.NtpPacket;
    import com.rcomponent.net.ntp.NtpTimeInfo;
    import com.rcomponent.net.ntp.NtpTimeStamp;
    import com.rcomponent.util.RLicenseManager;

    public  class NTPDemo {

        public static  void main(String[] args) {
            RLicenseManager.Registers("RComponentnet", "9assdddfkdccbfabksaeasefkssfrabe");
            //1 clock.psu.edu
            //2 "clock.nc.fukuoka-u.ac.jp";
            //3 "ntp.alaska.edu";
            NtpTimeInfo info = null;
            try {
                NtpClient client = new NtpClient();
                String s = "clock.psu.edu";
                InetAddress hostAddr = InetAddress.getByName(s);
                System.out.println(" " + hostAddr.getHostName() + "/" + hostAddr.getHostAddress());
                info = client.getTime(hostAddr);
                // processResponse(info);
            } catch (Exception e) {
                e.printStackTrace();
            }
            NtpPacket message = info.getMessage();
            NtpTimeStamp xmitNtpTime = message.getTransmitTimeStamp();
            System.out.println(" Transmit Timestamp:\t" + xmitNtpTime + "  " + xmitNtpTime.toDateString());
            info.computeDetails(); // compute offset/delay if not already done
            Long offsetValue = info.getOffset();
            Long delayValue = info.getDelay();
            String delay = (delayValue == null) ? "N/A" : delayValue.toString();
            String offset = (offsetValue == null) ? "N/A" : offsetValue.toString();
            //offset in ms
            System.out.println(" Roundtrip delay(ms)=" + delay + ", clock offset(ms)=" + offset);
        }
    }


    POP3Demo.java
    /**
     * Supports client-side access. RComponent net component suite demo. version 1.1
     * www.rcomponent.com
     */
    package demo.pop3;

    import java.util.Vector;
    import com.rcomponent.net.pop3.POP3Client;
    import com.rcomponent.net.pop3.POP3MessageHeader;
    import com.rcomponent.util.RLicenseManager;

    public class POP3Demo {
        public static void main(String[] args) {
            RLicenseManager.Registers("RComponentnet", "9assdddfkdccbfabksaeasefkssfrabe");
            String host = "", user = "", password = "";
            int port = 21;
            POP3Client pop3Client = new POP3Client();
            pop3Client.setHostName(host);
            pop3Client.setPort(port);
            pop3Client.setUserName(user);
            pop3Client.setPassword(password);
            pop3Client.Connect();
            System.out.println(pop3Client.getStatus());
            int noOfMessages = pop3Client.getNoOfMessage();
            try {
                for (int i = 0; i < noOfMessages; i++) {
                    POP3MessageHeader pop3MessageHeader = pop3Client.getMailHeader(i + 1);
                    if (pop3MessageHeader != null) {
                        Vector rowData = new Vector();
                        rowData.addElement("" + (i + 1));
                        rowData.addElement(pop3MessageHeader.getFrom());
                        rowData.addElement(pop3MessageHeader.getSubject());
                        rowData.addElement(pop3MessageHeader.getDate());
                        System.out.println(pop3MessageHeader.getDate());
                    }
                }
            } catch (Exception e) {
                System.out.println("Exception occured from GetMailHeadersThread : " + e);
            } finally {
                pop3Client.closeConnection();
            }
        }
    }



    SMTPDemo.java

    /**
     * Supports client-side access. RComponent net component suite demo. version 1.1
     * www.rcomponent.com
     */
    package demo.smtp;

    import com.rcomponent.net.message.Mail;
    import com.rcomponent.net.smtp.SMTPClient;
    import com.rcomponent.util.RLicenseManager;

    public class SMTPDemo {
        public static void main(String[] args) {
            RLicenseManager.Registers("RComponentnet", "9assdddfkdccbfabksaeasefkssfrabe");
            Mail message = new Mail();
            String from = "", to = "", cc = "", bcc = "", subject = "", body = "", attach = "";
            message.setFrom(from);
            message.setTo(to);
            message.setCc(cc);
            message.setBcc(bcc);
            message.setSubject(subject);
            message.setAttachments(attach);
            message.setBody(body);
            String host = "", userName = "", password = "";
            int port = 21;
            boolean authentication = true;
            SMTPClient smtpClient = new SMTPClient();
            smtpClient.setHostName(host);
            smtpClient.setPort(port);
            smtpClient.setAuthentication(authentication);
            smtpClient.setUserName(userName);
            smtpClient.setPassword(password);
            smtpClient.setSaveSentMessages(true);
            boolean success = false;
            if (smtpClient.connect()) {
                success = smtpClient.sendMail(message);
                smtpClient.closeConnection();
            }
            System.out.println(smtpClient.getStatus());
            if (success) {
                String msg = "Mail successfully sent!";
                if (true) {
                    System.out.println("\nMessage has been successfully saved.");
                }
            } else {
                System.out.println("Mail could not sent successfully.\nSee Status for more details.");
            }
        }
    }


    RComponent.RTDesign
    RComponent.RTDesign  是RComponent為.NET開發(fā)人員提供的網(wǎng)絡(luò)組件,100%.NET實(shí)現(xiàn)。提供完整的API,幫助文檔。
    豐富的Demo和Demo源碼。提供免費(fèi)技術(shù)支持。
    The powerful runtime form designer - RComponent.RTDDesign 1.1 released!
    The RComponent.RTDDesign is the 100% pure .NET class library, which allows you to
    runtime design form from your application. The designer component simplifies
    creation of design environments by providing the core functionality needed.

    The features of RComponent.RTDDesign
    1) Runtime creating and resizing .RComponent.RTDDesign provides support to Move,
    re-size, and create objects controls at runtime. The controls can be
    moved using mouse as well as keyboard..
    2) Rich functions Multi-select, edit and designer
    events, Relative Align controls, Undo and Redo,
    Saving and loading form to/from file, Customizable
    designer features.
    3) Standard and 3rd party components supporting.
    nested controls supporting.
    Dynamic component information Tool tip in runtime
    design.
    4) Pure .NET component written in 100% managed C#.

    1.RTDDesign 提供在運(yùn)行時(shí)建立控件和調(diào)整控件,容器尺寸.
    RTDDesign支持在在運(yùn)行時(shí)用鼠標(biāo)或鍵盤移動(dòng)對(duì)象.
    2.豐富的編輯功能. 同時(shí)選中多個(gè)控件,相關(guān)對(duì)象的對(duì)齊,
    可對(duì)齊到網(wǎng)格,前后層次的調(diào)整,
    2.動(dòng)態(tài)的


    -----------------------------------------------------------------------------------------------------------
    RComponent.net (For java)
    RComponent.net (For java)  是RComponent為java開發(fā)人員提供的網(wǎng)絡(luò)組件,100%java實(shí)現(xiàn)。提供完整的API,幫助文檔。
    豐富的Demo和Demo源碼。提供免費(fèi)技術(shù)支持。
      1.FTP Client 組件   目標(biāo)是向用戶提供完備的FTP操作服務(wù)。支持所有標(biāo)準(zhǔn)的FTP協(xié)議,有主動(dòng)和被動(dòng)模式可供選擇。 支持
    廣泛的FTP Server。目錄管理有cd,madir ,rename, update, download和delete均有較好表現(xiàn)。
    通配符操作也被完整的支持。
      2. NTP Client 組件     目標(biāo)是向用戶提供一個(gè)跨越廣域網(wǎng)或局域網(wǎng)的復(fù)雜的同步時(shí)間協(xié)議組件。支持時(shí)鐘偏移、時(shí)間延遲及差量,
    可獲得Time Server毫秒級(jí)的精度。支持RFC-868規(guī)范標(biāo)準(zhǔn)。可選廣泛Time Server, 推薦使用pool.ntp.org
      3.POP3 Client組件   目標(biāo)是向用戶提供高效、可靠的郵件接收服務(wù).支持所有標(biāo)準(zhǔn)的POP3協(xié)議,認(rèn)可,處理,和更新這三種狀態(tài)均有較好表現(xiàn)。
    可從指定Server端獲取Mail列表,Mail時(shí)間。可獲取Mail主題,Mail內(nèi)容, 可刪除Mail.
      4.SMTP Client組件   目標(biāo)是向用戶提供高效、可靠的郵件發(fā)送服務(wù)。 支持所有標(biāo)準(zhǔn)的郵件傳輸協(xié)議,
    支持郵件從Client傳輸?shù)絊erver, 或從一個(gè)Server傳輸?shù)搅硪粋€(gè)Server。支持連接超時(shí)。


    ---------------------------------------------------------------------------------------------------------------------------------------

    RComponent.net (For .NET)
    RComponent.net (For NET)  是RComponent為.NET開發(fā)人員提供的網(wǎng)絡(luò)組件,100%.NET實(shí)現(xiàn)。提供完整的API,幫助文檔。
    豐富的Demo和Demo源碼。提供免費(fèi)技術(shù)支持。
      1.FTP Client 組件   目標(biāo)是向用戶提供完備的FTP操作服務(wù)。支持所有標(biāo)準(zhǔn)的FTP協(xié)議,有主動(dòng)和被動(dòng)模式可供選擇。 支持
    廣泛的FTP Server。目錄管理有cd,madir ,rename, update, download和delete均有較好表現(xiàn)。
    通配符操作也被完整的支持。
      2. NTP Client 組件     目標(biāo)是向用戶提供一個(gè)跨越廣域網(wǎng)或局域網(wǎng)的復(fù)雜的同步時(shí)間協(xié)議組件。支持時(shí)鐘偏移、時(shí)間延遲及差量,
    可獲得Time Server毫秒級(jí)的精度。支持RFC-868規(guī)范標(biāo)準(zhǔn)。可選廣泛Time Server, 推薦使用pool.ntp.org
      3.POP3 Client組件   目標(biāo)是向用戶提供高效、可靠的郵件接收服務(wù).支持所有標(biāo)準(zhǔn)的POP3協(xié)議,認(rèn)可,處理,和更新這三種狀態(tài)均有較好表現(xiàn)。
    可從指定Server端獲取Mail列表,Mail時(shí)間。可獲取Mail主題,Mail內(nèi)容, 可刪除Mail.
      4.SMTP Client組件   目標(biāo)是向用戶提供高效、可靠的郵件發(fā)送服務(wù)。 支持所有標(biāo)準(zhǔn)的郵件傳輸協(xié)議,
    支持郵件從Client傳輸?shù)絊erver, 或從一個(gè)Server傳輸?shù)搅硪粋€(gè)Server。支持連接超時(shí)。

    ----------------------------------------------------------------------------------------------------------------------------
    RComponent.Swing
    RComponent.Swing是RComponent為java開發(fā)人員提供的表現(xiàn)層Swing組件集合,100%java實(shí)現(xiàn)。提供完整的API,幫助文檔。
    豐富的Demo和Demo源碼。提供免費(fèi)技術(shù)支持。
    1.RDatePicker 輸入日期數(shù)據(jù)。
    2.RIpAddressField 輸入IP數(shù)據(jù)。
    3.RMask 輸入指定格式的數(shù)據(jù)。
    4.RTreeComboBox ComboBox的item 可從分組樹選取
    5.RPopupButton 帶Popup功能的button.
    6.Print  帶preView的Print
    7.RBarCode BarCode支持豐富的類型:
    Type39,CodaType2dot1,   Code128,   Code39,   Code39_2to1,   Ean13,  Ean8,   ExtendedCode39,  
    ExtendedCode39_2dot1,   Interleaved25,   Interleaved25_2to1,  MSI , 輸出有Clipboard, GIF,Print
    8.RCalendar  RCalendar 提供Calendar表現(xiàn).
    9.RInspect RInspect是一個(gè)強(qiáng)大的組件, 提供在運(yùn)行期對(duì)控件的檢視,在demo和屬性編輯有廣泛的用途。
    10.ROutlookBar ROutlookBar是一個(gè)強(qiáng)大的信息組織組件,提供動(dòng)態(tài)添加, 編輯, 刪除band和item,
    11.RShape 提供多種Shape 類型.
    12.RTreetable  RTreetable提供對(duì)table信息進(jìn)行分組的組件.可自定義item圖標(biāo)。
    13. RWizard. RWizard提供良好的控制,支持back.

    ------------------------------------------------------------------------------------------------------------------------
    RComponent.WinForm
    RComponent.WinForm是RComponent為.NET開發(fā)人員提供的表現(xiàn)層.NET組件集合,100%.NET實(shí)現(xiàn)。提供完整的API,幫助文檔。
    豐富的Demo和Demo源碼。提供免費(fèi)技術(shù)支持。
    1.RBarCode.
    BarCode支持豐富的類型: 2_5_interleaved,
    code39, 2_5_industrial, 2_5_matrix,  code39 Extended,code128B,code128C,code93,
    code93,EAN128C Extended,MSI,PostNet, codebar,code128A EAN8,EAN13,UPC_A,UPC_E0, UPC_E1,
    UPC Supp2,UPC Supp5,EAN128A,EAN128B , 能自定義文字和圖片, 可以輸出 jpg,gif和Clipboard.
    2. RShape 能做出各種圖片.
    Rectangle,Square ,Ellipse ,Circle,Valve,ValveUp, House, TriangleRight, TriangleUp, TriangleLeft,
    TriangleDown, ArrowRight, ArrowUp, ArrowLeft, ArrowDown, Diamond, Octagon, Hexagon
    UBarUp, UBarLeft, UBarDown, UBarRight, ChairLeft, ChairRight, BowlLeft, BowlRight, BowlDown,
    BowlUp, IBar, HBar, fourPoint, Waggle, CloudLeft, CloudRight, DoubleOval, DoubleOvalV, Torus,
    Frame, FrameNarrow, LBarUpLeft, LBarUpRight, LBarLeft, LBarRight,  twoHoleHoriz, twoHoleVert,
    CubeUpRight, CubeUpLeft, CubeDownRight,HexagonFlat。 
    3.REdItor  控制輸入的控件, 數(shù)字, 顏色, 字體,IP,時(shí)間。
    None 普通,DateOnly 時(shí)間,PhoneWithArea電話,IpAddress IP地址,SSN   ssn號(hào)碼
    Decimald   帶小數(shù)的數(shù)字,Digit 數(shù)字。
    4. RToolbar 支持xp style的 toolbar
    5. ROutlookBarPanel
    6. ROutlookBar
    7. RNavigationBar
    8. RCodeEditor
    高級(jí)的代碼編輯控件,完整支持C#, java, SQL等常見的語(yǔ)言 。語(yǔ)法高亮著色,背景色, 行號(hào)。
    自定義編輯模式,支持Find/Replace,支持無(wú)限步驟的撤消/回復(fù)。加載, 保存文件。
    豐富的方法.屬性。設(shè)置背景色,設(shè)置字體,得到文檔是否被變動(dòng)過(guò)的bool值,得到鼠標(biāo)位置。
    9. RCS2VB
    轉(zhuǎn)換.NET C# 代碼到.NET VB代碼, 完整支持C#和VB的語(yǔ)法。支持注釋。

    10.RDocker

    ToolBox  will be add into RComponent.WinForm
    http://www.codeproject.com/cs/miscctrl/AgToolBox.asp

     

     



     

    posted on 2006-04-11 12:53 大雁北飛 閱讀(1784) 評(píng)論(4)  編輯  收藏

    評(píng)論

    # aaaaaaaaaaaaaaaaa  回復(fù)  更多評(píng)論   

    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    2006-04-11 15:05 | aaaaaaaaaaaaaaaaaaaaaaaaa

    # bbbbbbbbbbbbbbbbbbbb  回復(fù)  更多評(píng)論   

    @aaaaaaaaaaaaaaaaaaaaaaaaa


    bbbbbbbbbbbbbbbbbbbbbbbbbbbbb
    2006-04-11 15:06 | bbbbbbbbbbbbbbb

    # re: RComponent 網(wǎng)絡(luò)組件 .java版 源碼   回復(fù)  更多評(píng)論   

    @bbbbbbbbbbbbbbb


    cccccccccctext
    2006-04-11 15:09 | ccccccccccccccccccccccccc

    # re: RComponent 網(wǎng)絡(luò)組件 .java版 源碼   回復(fù)  更多評(píng)論   

    @cccccccccccccccccc


    asdfasdf
    2006-04-11 15:12 | ccccccccccccccccccccccccc

    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 亚洲欧洲在线播放| 无码精品人妻一区二区三区免费看| 亚洲成av人片天堂网| 国产精品四虎在线观看免费| 亚洲视频在线免费观看| 羞羞视频免费网站在线看| 国产成人精品久久亚洲高清不卡| 亚洲国产片在线观看| 亚洲AV无码乱码国产麻豆| 亚洲一区二区三区国产精品| 好爽好紧好大的免费视频国产| 歪歪漫画在线观看官网免费阅读 | 无码av免费毛片一区二区| 两性色午夜免费视频| 又黄又大的激情视频在线观看免费视频社区在线 | 100000免费啪啪18免进| 久久黄色免费网站| 国产综合免费精品久久久| 一出一进一爽一粗一大视频免费的| 亚洲AV日韩AV永久无码色欲| 国产亚洲精品bv在线观看| 亚洲午夜久久久久久尤物| 亚洲精品无码久久毛片波多野吉衣| 亚洲AV无码久久精品狠狠爱浪潮| 红杏亚洲影院一区二区三区| 亚洲成a人片在线播放| 在线a亚洲v天堂网2018| 无码不卡亚洲成?人片| 国产hs免费高清在线观看| 国产精品久免费的黄网站| 国产伦精品一区二区三区免费迷| 成人永久免费福利视频网站| 免费看AV毛片一区二区三区| 免费涩涩在线视频网| 国产成人免费片在线观看| 国产自产拍精品视频免费看| 亚洲AV成人潮喷综合网| 77777亚洲午夜久久多人| 国产亚洲精品xxx| 亚洲毛片无码专区亚洲乱| 亚洲成a人片在线观看精品|