JAVA»ñȡϵͳÐÅÏ¢
Properties props=System.getProperties(); //ϵͳÊôÐÔ
System.out.println("JavaµÄÔËÐл·¾³°æ±¾£º"+props.getProperty("java.version"));
System.out.println("JavaµÄÔËÐл·¾³¹©Ó¦ÉÌ£º"+props.getProperty("java.vendor"));
System.out.println("Java¹©Ó¦É̵ÄURL£º"+props.getProperty("java.vendor.url"));
System.out.println("JavaµÄ°²×°Â·¾¶£º"+props.getProperty("java.home"));
System.out.println("JavaµÄÐéÄâ»ú¹æ·¶°æ±¾£º"+props.getProperty("java.vm.specification.version"));
System.out.println("JavaµÄÐéÄâ»ú¹æ·¶¹©Ó¦ÉÌ£º"+props.getProperty("java.vm.specification.vendor"));
System.out.println("JavaµÄÐéÄâ»ú¹æ·¶Ãû³Æ£º"+props.getProperty("java.vm.specification.name"));
System.out.println("JavaµÄÐéÄâ»úʵÏÖ°æ±¾£º"+props.getProperty("java.vm.version"));
System.out.println("JavaµÄÐéÄâ»úʵÏÖ¹©Ó¦ÉÌ£º"+props.getProperty("java.vm.vendor"));
System.out.println("JavaµÄÐéÄâ»úʵÏÖÃû³Æ£º"+props.getProperty("java.vm.name"));
System.out.println("JavaÔËÐÐʱ»·¾³¹æ·¶°æ±¾£º"+props.getProperty("java.specification.version"));
System.out.println("JavaÔËÐÐʱ»·¾³¹æ·¶¹©Ó¦ÉÌ£º"+props.getProperty("java.specification.vender"));
System.out.println("JavaÔËÐÐʱ»·¾³¹æ·¶Ãû³Æ£º"+props.getProperty("java.specification.name"));
System.out.println("JavaµÄÀà¸ñʽ°æ±¾ºÅ£º"+props.getProperty("java.class.version"));
System.out.println("JavaµÄÀà·¾¶£º"+props.getProperty("java.class.path"));
System.out.println("¼ÓÔØ¿âʱËÑË÷µÄ·¾¶ÁÐ±í£º"+props.getProperty("java.library.path"));
System.out.println("ĬÈϵÄÁÙʱÎļþ·¾¶£º"+props.getProperty("java.io.tmpdir"));
System.out.println("Ò»¸ö»ò¶à¸öÀ©Õ¹Ä¿Â¼µÄ·¾¶£º"+props.getProperty("java.ext.dirs"));
System.out.println("²Ù×÷ϵͳµÄÃû³Æ£º"+props.getProperty("os.name"));
System.out.println("²Ù×÷ϵͳµÄ¹¹¼Ü£º"+props.getProperty("os.arch"));
System.out.println("²Ù×÷ϵͳµÄ°æ±¾£º"+props.getProperty("os.version"));
System.out.println("Îļþ·Ö¸ô·û£º"+props.getProperty("file.separator")); //ÔÚ unix ϵͳÖÐÊÇ£¢£¯£¢
System.out.println("·¾¶·Ö¸ô·û£º"+props.getProperty("pat
Ïà¹ØÎĵµ£º
http://www.ajaxlines.com/ajax/stuff/article/using_google_is_ajax_search_api_with_java.php
I was rather depressed over a year ago when Google deprecated their SOAP Search API with their AJAX Search API. Essentially Google was saying that they didn want anyone programmatically accessing Google search ......
£¨´ËÌù½÷Ïò£¬²ËÄñ¼¶JAVA³ÌÐòÔ±Ìṩ±ãÀû£¬ºÇºÇ£¬£¬ÈôÓÐÐÒ¸ßÊÖ³öÏÖ£¬»¹Íû¶à¶àÖ¸µã¡£Ð¡µÜÉõ»¶£¡£©
×î½üæÓÚ¿ª·¢Ò»Ì×¼à¿ØÏµÍ³¡£
ÐèÒª±¨¾¯ÉùÒô¡£
ÔÚѰÇó½â¾ö·½°¸µÄʱºò£¬³öÏÖÁ½ÖÖ·½°¸¡£
Ò»¡¢ÓÃjavax.sound.sampled.*°ü£¬½øÐÐÉùÒô´¦Àí¡£
¶þ¡¢ÓÃsun.audio.AudioPlayer°ü£¬½øÐÐÉùÒô´¦Àí¡£
µÚÒ»ÖÖ·½°¸ÓÃÆðÀ´£¬»á¾³£ÐÔ³öÏÖ¿¨Ö ......
public boolean copy(String from, String to) {
boolean temp=true;
FileInputStream stream;
try {
stream = new FileInputStream(new File(from));
FileOutputStream bos = new FileOutputStream(to);
int bytesRea ......
Öµ´«µÝ£º·½·¨µ÷ÓÃʱ£¬Êµ¼Ê²ÎÊý°ÑËüµÄÖµ´«µÝ¸ø¶ÔÓ¦µÄÐÎʽ²ÎÊý£¬·½·¨Ö´ÐÐÖÐÐÎʽ²ÎÊýÖµµÄ¸Ä±ä²»Ó°Ïìʵ¼Ê²Î ÊýµÄÖµ¡£
"ÒýÓô«µÝ"£ºÒ²³ÆÎª´«µØÖ·¡£·½·¨µ÷ÓÃʱ£¬Êµ¼Ê²ÎÊýµÄÒýÓÃ(µØÖ·£¬¶ø²»ÊDzÎÊýµÄÖµ)±»´«µÝ¸ø·½·¨ÖÐÏà¶ÔÓ¦µÄÐÎʽ²ÎÊý£¬ÔÚ·½·¨Ö´ÐÐÖУ¬¶ÔÐÎʽ²ÎÊýµÄ²Ù×÷ʵ¼ÊÉϾÍÊǶÔʵ¼Ê²ÎÊýµÄ²Ù×÷£¬·½·¨Ö´ÐÐÖÐÐÎʽ²ÎÊýÖµµÄ¸Ä ......