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ÄÚ´æ·ÖÅä:
1. ¼Ä´æÆ÷£ºÎÒÃÇÔÚ³ÌÐòÖÐÎÞ·¨¿ØÖÆ
2. Õ»£º´æ·Å»ù±¾ÀàÐ͵ÄÊý¾ÝºÍ¶ÔÏóµÄÒýÓ㬵«¶ÔÏó±¾Éí²»´æ·ÅÔÚÕ»ÖУ¬¶øÊÇ´æ·ÅÔÚ¶ÑÖÐ
3.
¶Ñ£º´æ·ÅÓÃnew²úÉúµÄÊý¾Ý
4. ¾²Ì¬Óò£º´æ·ÅÔÚ¶ÔÏóÖÐÓÃstatic¶¨ÒåµÄ¾²Ì¬³ÉÔ±
5. ³£Á¿³Ø£º´æ·Å³£Á¿
6. ·ÇRAM(Ëæ»ú´æÈ¡´æ´¢Æ÷)´æ´¢£ºÓ²Å̵ÈÓÀ¾Ã´æ´¢¿Õ¼ä
------------------------- ......
Java codeFormat ft=Format.getRawFormat();
ft.setEncoding("utf-8");
ft.setIndent(" ");//ÉèÖÃËõ½ø
XMLOutputter outputter=new XMLOutputter(ft);//ÉèÖÃXML¸ñʽ
Õâλ˵µÄ²»´í£»
ÔÚieÀïÃ棬ËüÄÜ°Ñxml×Ô¶¯½âÎö³ÆÊ÷Ðνṹ£¬ËùÒÔ¿´ÆðÀ´Ã»ÎÊÌ⣬ÔÚ¼Çʱ¾ÀïÃ棬¾Í²»ÐÐÁ ......
JAVAÖÐλÔËËã·û°üÀ¨: & | ~ ^ << >> >>>
Ò»¡¢Ê×ÏÈÒª¸ãÇå³þ²ÎÓëÔËËãµÄÊýµÄλÊý£º
javaµÄ8ÖÖ»ù±¾ÀàÐÍ£ºbyte,short, char, int, long,float,double,boolean.
ÔÚÄÚ´æÖй̶¨³¤¶È(×Ö½Ú)£º1&nbs ......
ºÜ¿ÉÄܽ« Groovy µ±³ÉÊÇûÓйæÔòµÄ Java ´úÂë¡£µ«Êµ¼ÊÉÏ£¬Groovy Ö»ÊǹæÔòÉÙһЩ¡£ÕâÒ»½ÚµÄÖصãÊÇʹÓà Groovy ±àд Java Ó¦ÓóÌÐòʱ¿ÉÒÔ²»Óÿ¼ÂǵÄÒ»¸ö Java ±à³ÌµÄ¾ßÌå·½Ã棺ÀàÐͶ¨Òå¡£
ΪʲôҪÓÐÀàÐͶ¨Ò壿
ÔÚ Java ÖУ¬Èç¹ûÒªÉùÃ÷Ò»¸ö String ±äÁ¿£¬Ôò±ØÐëÊäÈ룺
String value = "Hello World";
µ«ÊÇ£¬Èç¹û×ÐϸÏëÏ ......
Throwable
Throwable ÀàÊÇ Java ÓïÑÔÖÐËùÓдíÎó»òÒì³£µÄ³¬Àà¡£Ö»Ó屶ÔÏóÊÇ´ËÀࣨ»òÆä×ÓÀàÖ®Ò»£©µÄʵÀýʱ£¬²ÅÄÜͨ¹ý Java ÐéÄâ»ú»òÕß Java throw Óï¾äÅ׳ö¡£ÀàËƵأ¬Ö»ÓдËÀà»òÆä×ÓÀàÖ®Ò»²Å¿ÉÒÔÊÇ catch ×Ó¾äÖеIJÎÊýÀàÐÍ¡£
Á½¸ö×ÓÀàµÄʵÀý£¬Error ºÍ Exception£¬Í¨³£ÓÃÓÚָʾ·¢ÉúÁËÒì³£Çé¿ö¡£Í¨³££¬ÕâЩʵÀýÊÇÔÚÒì³£Çé ......