java¶ÁÈ¡xmlÎļþµÄËÄÖÖ·½·¨
xmlÎļþ£º
Xml´úÂë
<?xml version="1.0" encoding="GB2312"?>
<RESULT>
<VALUE>¡¡¡¡
<NO>A1234</NO>¡¡¡¡
<ADDR>ºÓÄÏÊ¡Ö£ÖÝÊÐ</ADDR>
</VALUE>
<VALUE>¡¡¡¡
<NO>B1234</NO> ¡¡
<ADDR>ºÓÄÏÊ¡Ö£ÖÝÊжþÆßÇø</ADDR>
</VALUE>
</RESULT>
<?xml version="1.0" encoding="GB2312"?>
<RESULT>
<VALUE>¡¡¡¡
<NO>A1234</NO>¡¡¡¡
<ADDR>ºÓÄÏÊ¡Ö£ÖÝÊÐ</ADDR>
</VALUE>
<VALUE>¡¡¡¡
<NO>B1234</NO> ¡¡
<ADDR>ºÓÄÏÊ¡Ö£ÖÝÊжþÆßÇø</ADDR>
</VALUE>
</RESULT>
µÚÒ»ÖÖ DOM ʵÏÖ·½·¨£º
Java´úÂë
import java.io.File;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
public class MyXMLReader2DOM {
public static void main(String arge[]) {
long lasting = System.currentTimeMillis();
try {
File f = new File("data_10k.xml");
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.parse(f);
NodeList nl = doc.getElementsByTagName("VALUE");
&nbs
Ïà¹ØÎĵµ£º
¡¡1¡¢Ê¹ÓÃjava.util.ResourceBundleÀàµÄgetBundle()·½·¨
ʾÀý£º
String name = "logging"; // the logging.properties file in src root folder
ResourceBundle rb = ResourceBundle.getBundle(name,Locale.getDefault());
// test the rb
String propertyKey = "xxx";
System.out.println(rb.getString(propert ......
Java Applet ÊÇÓÃJava ÓïÑÔ±àдµÄһЩСӦÓóÌÐò£¬ÕâЩ³ÌÐòÊÇÖ±½ÓǶÈëµ½Ò³ÃæÖУ¬ÓÉÖ§³ÖJavaµÄä¯ÀÀÆ÷£¨IE »ò Nescape£©½âÊÍÖ´ÐÐÄܹ»²úÉúÌØÊâЧ¹ûµÄ³ÌÐò¡£Ëü¿ÉÒÔ´ó´óÌá¸ßWebÒ³ÃæµÄ½»»¥ÄÜÁ¦ºÍ¶¯Ì¬Ö´ÐÐÄÜÁ¦¡£°üº¬AppletµÄÍøÒ³±»³ÆΪJava-poweredÒ³£¬¿ÉÒÔ³ÆÆäΪJavaÖ§³ÖµÄÍøÒ³¡£
µ±Óû§·ÃÎÊÕâÑùµÄÍøҳʱ£¬Ap ......
ת×Ô£ºhttp://blog.163.com/gordonkkk/blog/static/63425684200962795039630/
´ÓCSDNÉÏ¿´µ½Ò»ÆªÅúÆÀJavaÓïÑÔÖî¶àÎÊÌâµÄ·ÒëÎÄÕ£¬ÔÎÄ×÷ÕßÊÇMario Fusco¡£ËûÖ¸³öÁËJavaÓïÑÔÂäºóÓÚʱ´ú£¬»ýÖØÄÑ·µµÄ10¸öÎÊÌâ¡£¿´¹ýÖ®ºóÒýÆðÁËÎÒµÄһЩÁªÏë¡£ÏÂÃæÁгöËûËù˵µÄ10´óÎÊÌâ¡£½Û»ÆÉ«×ÖÌåÊÇÎÒÒ»µãµã²»³ÉÊìµÄ˼¿¼¡£
1¡¢È±ÉÙ±Õ°ü£¨clos ......
1. RabbitÁ÷ÃÜÂ루Rabbit Stream Cipher£©¼ò½é
RabbitÁ÷ÃÜÂëÊÇÓÉCryptico¹«Ë¾£¨http://www.cryptico.com£©Éè¼ÆµÄ£¬ÃÜÔ¿³¤¶È128룬
×î´ó¼ÓÃÜÏûÏ¢³¤¶ÈΪ264 Bytes£¬¼´16 TB£¬ÈôÏûÏ¢³¬¹ý¸Ã³¤¶È£¬ÔòÐèÒª¸ü»»ÃÜÔ¿¶ÔʣϵÄÏûÏ¢½øÐд¦Àí¡£ËüÊÇÄ¿Ç°°²È«ÐԽϸߣ¬¼Ó/½âÃÜËٶȱȽϸßЧµÄÁ÷ÃÜÂëÖ®Ò»£ ......