JavaºËÐÄAPIÐèÒªÕÆÎյij̶È
JavaµÄºËÐÄAPIÊǷdz£ÅÓ´óµÄ,Õâ¸ø¿ª·¢ÕßÀ´Ëµ´øÀ´Á˺ܴóµÄ·½±ã£¬¾³£ÈËÓÐÆÀÂÛ,javaÈóÌÐòÔ±±äɵ¡£
µ«ÊÇһЩÄÚÈÝÎÒÈÏΪÊDZØÐëÕÆÎյ쬷ñÔò²»¿ÉÒÔÊìÁ·ÔËÓÃjava£¬Ò²²»»áʹÓþͺÜÄѰìÁË¡£
1¡¢java.lang°üϵÄ80£¥ÒÔÉϵÄÀàµÄ¹¦ÄܵÄÁé»îÔËÓá£
2¡¢java.util°üϵÄ80£¥ÒÔÉϵÄÀàµÄÁé»îÔËÓã¬ÌرðÊǼ¯ºÏÀàÌåϵ¡¢Õý¹æ±í´ïʽ¡¢Ê±¼ä¡¢ÊôÐÔ¡¢ºÍTimer.
3¡¢java.io°üϵÄ60£¥ÒÔÉϵÄÀàµÄʹÓã¬Àí½âIOÌåϵµÄ»ùÓڹܵÀÄ£Ð͵ÄÉè¼ÆË¼Â·ÒÔ¼°³£ÓÃIOÀàµÄÌØÐÔºÍʹÓó¡ºÏ¡£
4¡¢java.math°üϵÄ100£¥µÄÄÚÈÝ¡£
5¡¢java.net°üϵÄ60£¥ÒÔÉϵÄÄÚÈÝ£¬¶Ô¸÷¸öÀàµÄ¹¦ÄܱȽÏÊìϤ¡£
6¡¢java.text°üϵÄ60£¥ÒÔÉϵÄÄÚÈÝ£¬ÌرðÊǸ÷ÖÖ¸ñʽ»¯Àà¡£
7¡¢ÊìÁ·ÔËÓÃJDBC.
8¡¢java.security°üÏÂ40£¥ÒÔÉϵÄÄÚÈÝ£¬Èç¹û¶ÔÓÚ°²È«Ã»ÓнӴ¥µÄ»°¸ù±¾¾Í²»¿ÉÄÜÕÆÎÕjava.
9¡¢AWTµÄ»ù±¾ÄÚÈÝ£¬°üÀ¨¸÷ÖÖ×é¼þʼþ¡¢¼àÌýÆ÷¡¢²¼¾Ö¹ÜÀíÆ÷¡¢³£ÓÃ×é¼þ¡¢´òÓ¡¡£
10¡¢SwingµÄ»ù±¾ÄÚÈÝ£¬ºÍAWTµÄÒªÇóÀàËÆ¡£
11¡¢XML´¦Àí£¬ÊìϤSAX¡¢DOMÒÔ¼°JDOMµÄÓÅȱµã²¢ÇÒÄܹ»Ê¹ÓÃÆäÖеÄÒ»ÖÖÍê³ÉXMLµÄ½âÎö¼°ÄÚÈÝ´¦Àí¡£
Ïà¹ØÎĵµ£º
Map map = new HashMap();
Iterator iter = map.entrySet().iterator();
while (iter.hasNext()) {
Map.Entry entry = (Map.Entry) iter.next();
Object key = entry.getKey();
Object val = entry.getValue();
}
......
javaµÄIOÊÇ»ùÓÚÁ÷£¨stream£©¸ÅÄîµÄ£¬Ê²Ã´ÊÇÁ÷ÄØ£¬×÷Ϊ³õѧÕߣ¬ÎÒÊÇÕâÑùÀí½âµÄ£¬ÔÚ¸÷¸öÓ¦ÓÃÖ®¼ä´«Ë͵ÄÊÇBITS£¬ÕâЩBIT¿ÉÒѱ»ÈÏΪÊÇÁ÷Ì壬¿ÉÒÔ¾ÍÈÏΪÊÇË®Á÷£¬ÄÇôÓÃÀ´ÔÚ¸÷¸öˮԴ֮¼ä×ªÒÆË®µÄ¹¤¾ßÓ¦¸ÃÑ¡ÔñÊ²Ã´ÄØ£¿Ò»°ãÇé¿öÏ£¬Ë®¹ÜÊÇ¿ÉÒԵģ¬ËùÒÔÊý¾ÝÎÒ½«Êý¾ÝÔ´±È×÷ˮԴ£¬½«Á÷¶ÔÏó±È×÷Ë®¹Ü£¬ÕâÑù¾ÍÓÐÁ˶ÔÁ÷µÄµÚÒ»²½ÈÏʶ£¬ËüÔÙÒ ......
Java¶ÁÈ¡PropertiesÎļþµÄÁùÖÖ·½·¨
Java¶ÁÈ¡propertiesÎļþ
ʹÓÃJ2SE API¶ÁÈ¡PropertiesÎļþµÄÁùÖÖ·½·¨
1¡£Ê¹ÓÃjava.util.PropertiesÀàµÄload()·½·¨
ʾÀý£º InputStream in = lnew BufferedInputStream(new FileInputStream(name));
Properties p = new Properties();
p.load(in);
2¡£Ê¹ÓÃjava.util.ResourceBundleÀ ......
ѧÉúÔÚѧϰjdbcµÄʱºò£¬»áÎʵ½Ôõôµ÷Óô洢¹ý³Ì£¬ÏÖÔÚ½«javaµ÷ÓÃoracle´æ´¢¹ý³ÌµÄʾÀý×ܽáÈçÏ¡££¨¹ØÓÚµ÷ÓÃsqlserverµÄ´æ´¢¹ý³Ì½«ÔÚÏ´νøÐÐС½áÇë¹Ø×¢£©
Ò»£ºÎÞ·µ»ØÖµµÄ´æ´¢¹ý³Ì
´æ´¢¹ý³ÌΪ£º
• create or replace procedure adddept(deptno number,dname varc ......
1.»ù±¾¸ÅÄîµÄÀí½â
¡¡¡¡¾ø¶Ô·¾¶£º¾ø¶Ô·¾¶¾ÍÊÇÄãµÄÖ÷Ò³ÉϵÄÎļþ»òĿ¼ÔÚÓ²ÅÌÉÏÕæÕýµÄ·¾¶£¬(URLºÍÎïÀí·¾¶)ÀýÈ磺
C:\xyz\test.txt ´ú±íÁËtest.txtÎļþµÄ¾ø¶Ô·¾¶¡£http://www.sun.com/index.htmÒ²´ú±íÁËÒ»¸öURL¾ø¶Ô·¾¶¡£
¡¡¡¡Ïà¶Ô·¾¶£ºÏà¶ÔÓëij¸ö»ù׼Ŀ¼µÄ·¾¶¡£°üº¬WebµÄÏà¶Ô·¾¶£¨HTMLÖеÄÏà¶ÔĿ¼£©£¬ÀýÈ磺ÔÚSer ......