HeritrixÍøÂçÅÀ³æ¶ÔBDBǶÈëʽÊý¾Ý¿âµÄÓ¦Óã¨JAVA£©
HeritrixÍøÂçÅÀ³æ¶ÔBDBǶÈëʽÊý¾Ý¿âµÄÓ¦Óã¨JAVA£©
Ò»¡¢HeritrixÖкÍBDBÏà¹ØµÄÀà
org.archive.bdb.BdbModule ÓÃÀ´Ó³ÉäÒ»¸ö¹²ÏíµÄBDBÊý¾Ý¿â»·¾³£¨JE£©µÄͨÓÃÄ£ÐÍ¡£
org.archive.bdb.BdbModule.BdbConfig Êý¾Ý¿âÅäÖöÔÏó¡£±ØÐèµÄ£¬ÒòΪcom.sleepycat.je.DatabaseConfigÕâ¸ö¶ÔÏóÊDz»»á±»ÐòÁл¯µÄ¡£´ËÍâËü»¹¿ÉÒÔ·ÀÖ¹ÎÞЧÉèÖᣣ¨ËùÓÐͨ¹ýÕâ¸öÄ£ÐÍ´ò¿ªµÄÊý¾Ý¿â±ØÐèÊÇdeferred-writeģʽµÄ£¬ÒòΪ²»ÕâÑùµÄ»°ÕâЩÊý¾Ý¿â¾Í²»Äܵ÷sync()·½·¨£¬²¢ÇÒÄã²»ÄÜÔÚµÚÒ»´Îµ÷sync()·½·¨Ç°À´ÔËÐÐÒ»¸öcheckpoint¼ì²éµã¡££©
org.archive.checkpointing.Checkpoint ´ú±íÒ»¸öÓÃÀ´¼ì²éBDBÊý¾Ý¿âÃû³ÆºÍBDBÖ÷´æ´¢Ä¿Â¼µÄ¼ì²éµã¡£
Ïà¹ØÎĵµ£º
Ôڳɹ¦ÊµÏÖJavaµ÷ÓÃC++Ö®ºó£¬½ÓÏÂÀ´Ïëµ½ÄÜ·ñͨ¹ýJNAʵÏÖJavaµ÷ÓÃFortran£¬½ñÌìÊÔÑéÁËһϣ¬»¹ÊDZȽÏÈÝÒ׵ġ£
ÍøÉÏÓÐÒ»¸öJavaµ÷ÓÃF95µÄÀý×Ó£¬µ«ÊÇÎÒ¿¼ÂDz»½öҪʵÏÖF95µÄµ÷Ó㬻¹ÒªÊµÏÖF77µÄµ÷Óã¬ËùÒÔ·ÑÁËһЩÖÜÕÛ¡£
ÎÊÌâµÄ¹Ø¼üÔÚÓÚF77Ϊ¹ý³ÌÃû×Ô¶¯Ìí¼ÓÁËÒ»¸öβ²¿µÄÏ»®Ïߣ¬ËùÒÔsub1Õâ¸ö¹ý³Ì£¬µ½JavaÒ»¶Ë£¬¾Í±ä³ÉÁËsub1_£¬ ......
java ͨ¹ýSystem.getProperties()»ñȡϵͳ²ÎÊý
Properties props=System.getProperties(); //ϵͳÊôÐÔ
System.out.println("JavaµÄÔËÐл·¾³°æ±¾£º"+props.getProperty("java.version"));
System.out.println("JavaµÄÔËÐл·¾³¹©Ó¦ÉÌ£º"+props.getProperty("java.vendor"));
......
Java codeFormat ft=Format.getRawFormat();
ft.setEncoding("utf-8");
ft.setIndent(" ");//ÉèÖÃËõ½ø
XMLOutputter outputter=new XMLOutputter(ft);//ÉèÖÃXML¸ñʽ
Õâλ˵µÄ²»´í£»
ÔÚieÀïÃ棬ËüÄÜ°Ñxml×Ô¶¯½âÎö³ÆÊ÷Ðνṹ£¬ËùÒÔ¿´ÆðÀ´Ã»ÎÊÌ⣬ÔÚ¼Çʱ¾ÀïÃ棬¾Í²»ÐÐÁ ......
ƪ²©¿ÍÊÇcsdnÊ×Ò³ÀïµÄһƪ²©¿Í£¬¸Ð¾õдµÄ²»´í£¬Ó¦¸Ã¶ÔÄÇЩÃÔãµÄÅóÓÑÓкܶà°ïÖú
±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£ºhttp://blog.csdn.net/gangqinjiawang/archive/2009/07/14/4346027.aspx
Java Èí¼þ¼Ü¹¹Ê¦ËùÒªÐèµÄ¶«Î÷
×÷ΪJava³ÌÐòÔ±À´Ëµ£¬×îÍ´¿àµÄÊÂÇéĪ¹ýÓÚ¿ÉÒÔÑ¡ÔñµÄ·¶Î§Ì«¹ã£¬¿ÉÒÔ¶ÁµÄÊéÌ«¶à£¬ÍùÍùÈÝÒ×ÎÞËùÊÊ´Ó¡£ ......
ºÜ¿ÉÄܽ« Groovy µ±³ÉÊÇûÓйæÔòµÄ Java ´úÂë¡£µ«Êµ¼ÊÉÏ£¬Groovy Ö»ÊǹæÔòÉÙһЩ¡£ÕâÒ»½ÚµÄÖصãÊÇʹÓà Groovy ±àд Java Ó¦ÓóÌÐòʱ¿ÉÒÔ²»Óÿ¼ÂǵÄÒ»¸ö Java ±à³ÌµÄ¾ßÌå·½Ã棺ÀàÐͶ¨Òå¡£
ΪʲôҪÓÐÀàÐͶ¨Ò壿
ÔÚ Java ÖУ¬Èç¹ûÒªÉùÃ÷Ò»¸ö String ±äÁ¿£¬Ôò±ØÐëÊäÈ룺
String value = "Hello World";
µ«ÊÇ£¬Èç¹û×ÐϸÏëÏ ......