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

¹ØÓÚBooleanÀàÐÍÔÚflexÓëjavaÖм䴫µÝµÄÎÊÌâ

¡¡¡¡×î½üÔÚ¿ª·¢¹ý³ÌÖз¢ÏÖÒ»¸öÎÊÌ⣺BooleanÀàÐ͵ÄÖµÎÞ·¨ÔÚflexºÍjava¼ä´«µÝ£¬¾­¹ýÒ»¶ÎÑо¿·¢ÏÖ£¬ÎÊÌâ³öÏÖÔÚBooleanÀàÐ͵ÄgetterºÍsetter·½·¨ÉÏ¡£
      °´ÕÕjavabeanµÄ¹æ·¶£¬Ð¡²¼¶ûÀàÐ͵ÄgetterÊÇÒÔis×öǰ׺µÄ£¬µ«ÊǴ󲼶ûÀàÐ͵Ägetter¾Í³ÉÁËÒÔgetΪǰ׺ÁË£¨´ó²¼¶û×÷ΪÒýÓÃÀàÐÍ£¬ÒѾ­±»ÊÓΪÆÕͨµÄObjectÁË£©¡£
ÀýÈ磺
¡¡¡¡¶ÔÓÚ×Ö¶Îprivate boolean enable;ÆägetterºÍsetterÈçÏ£º£¨Ìرð˵Ã÷µÄÊÇ£ºÈç¹ûÕâÀïµÄenable¸Ä³ÉisEnable£¬getterºÍsetter»¹ÊÇÏÂÃæµÄÕâÁ½¸ö£©
    public boolean isEnable() {
        return enable;
    }
    public void setEnable(boolean enable) {
        this.enable = enable;
    }
¡¡¡¡¶ÔÓÚ×Ö¶Îprivate Boolean editable;ÆägetterºÍsetterÈçÏ£º
    public Boolean getEditable() {
        return editable;
    }
    public void setEditable(Boolean editable) {
        this.editable = editable;
    }
¡¡¡¡µ±BooleanÀàÐÍÖµÔÚflex½«Ç°Ì¨ºÍjavaºǫ́´«µÝʱ£¬Õâ¸öÖµ»á±»ÐòÁл¯£¬µ±ÔÚºǫ́½âÎö³öÀ´Ê±¾ÍÊÇjavaµÄ´ó²¼¶ûÀàÐÍ£¬´Ëʱϵͳ»áÒÀ¾Ý´ó²¼¶ûÀàÐ͵ÄgetterºÍsetterÀ´ÉèÖµ£¬Èç¹û´ËʱÄãµÄjava¶ÔÏóÉùÃ÷µÄ¶ÔÓ¦×Ö¶ÎÊÇÒ»¸öС²¼¶ûÀàÐÍ£¬Éú³ÉµÄgetterÒ²ÊÇisΪǰ׺µÄ»°£¬ÏµÍ³¾ÍÎÞ·¨ÕÒµ½¶ÔÓÚµÄgetterºÍsetterÀ´ÉèÖµ¡£Õâ¾ÍÊÇÎÊÌâµÄÔ­ÒòËùÔÚ¡£


Ïà¹ØÎĵµ£º

ÓÃJAVAÔõô´ò¿ªÒ»¸ö·Ç¿ÉÖ´ÐеÄÎļþ£¿

µÚÒ»ÖÖ·½·¨Ê¹Óà DesktopÀ࣬¸ÃÀà¼Ì³Ð×ÔObject
import java.awt.*;
import java.io.*;
class DesktopTest
{
public static void main(String args[])
{
if (!Desktop.isDesktopSupported())
{
System.err.println("Desktop not supported!");
System.exit(-1);
}
else
{
try{
Desktop desktop ......

JavaÕýÔò±í´ïʽÏê½â


Èç¹ûÄãÔø¾­ÓùýPerl»òÈκÎÆäËûÄÚ½¨ÕýÔò±í´ïʽ֧³ÖµÄÓïÑÔ£¬ÄãÒ»¶¨ÖªµÀÓÃÕýÔò±í´ïʽ´¦ÀíÎı¾ºÍÆ¥ÅäģʽÊǶàô¼òµ¥¡£Èç¹ûÄã²»ÊìϤÕâ¸öÊõÓÄÇô“ÕýÔò±í´ïʽ”£¨Regular Expression£©¾ÍÊÇÒ»¸ö×Ö·û¹¹³ÉµÄ´®£¬Ëü¶¨ÒåÁËÒ»¸öÓÃÀ´ËÑË÷Æ¥Åä×Ö·û´®µÄģʽ¡£
Ðí¶àÓïÑÔ£¬°üÀ¨Perl¡¢PHP¡¢Python¡¢JavaScriptºÍJScript£¬¶¼Ö ......

ÔÚ Java »·¾³ÖÐʹÓà XQuery

XML Êý¾Ý¸ñʽºÜÄÑËÑË÷£¬µ«ÊÇ×î½üËæ×Å XQuery API µÄ³öÏÖ£¬XML ËÑË÷±äµÃ·Ç³£Áé»îºÍ¼òµ¥¡£¶ÔÓÚʹÓà SAX¡¢DOM¡¢JDOM¡¢JAXP µÈ´¦Àí XML ÎĵµµÄ Java™ ³ÌÐòÔ±À´Ëµ£¬¹¤¾ßÏäÖÐÔö¼Ó XQuery API for Java ÊÇÒ»¼þÖµµÃ¸ßÐ˵ÄÊ¡£ÏÖÔÚ Java ³ÌÐòÔ±²»ÓÃÔÙÇóÖúÓÚϵͳµ÷ÓûòÕß±¿×¾µÄ API ¾ÍÄÜÀûÓà XQuery µÄÇ¿´ó¹¦ÄÜÁË£¬Sun ÌṩÁËÒ» ......

flexÈ¡ÕûÔËËã

ת×Ô£ºhttp://hi.baidu.com/wosinmaiken/blog/item/ee59f7a8f72604bdca130c24.html
 /**ceil   ÏòÇ°(ÊýÖáÏòÓÒ)È¡Õû(·µ»ØֵΪNumber)**/
         trace(Math.ceil(10.4));    //11
         trace(Math ......

JAVA µ÷ÓÃWeb ServiceµÄ·½·¨

1.ʹÓÃHttpClient
Óõ½µÄjarÎļþ£ºcommons-httpclient-3.1.jar
·½·¨£º
Ô¤Ïȶ¨ÒåºÃSoapÇëÇóÊý¾Ý£¬¿ÉÒÔ½èÖúÓÚXMLSpy ProfessionalÈí¼þÀ´×öÕâÒ»²½Éú³É¡£
String soapRequestData = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
"<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instanc ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ