Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java ÈÕÆÚ¸ñʽ»¯×Ö·û´®

 /**
  SimpleDateFormatº¯ÊýÓï·¨£º
 
  G Äê´ú±êÖ¾·û
  y Äê
  M ÔÂ
  d ÈÕ
  h ʱ ÔÚÉÏÎç»òÏÂÎç (1~12)
  H ʱ ÔÚÒ»ÌìÖÐ (0~23)
  m ·Ö
  s Ãë
  S ºÁÃë
  E ÐÇÆÚ
  D Ò»ÄêÖеĵڼ¸Ìì
  F Ò»ÔÂÖеڼ¸¸öÐÇÆÚ¼¸
  w Ò»ÄêÖеڼ¸¸öÐÇÆÚ
  W Ò»ÔÂÖеڼ¸¸öÐÇÆÚ
  a ÉÏÎç / ÏÂÎç ±ê¼Ç·û
  k ʱ ÔÚÒ»ÌìÖÐ (1~24)
  K ʱ ÔÚÉÏÎç»òÏÂÎç (0~11)
  z ʱÇø
 */


Ïà¹ØÎĵµ£º

phpºÍjava¹ØÓÚĿ¼Ê÷£¨ÁгöijһĿ¼ÏÂÎļþ½á¹¹£©

javaµÄд·¨
/**
*
* @param location
* @param nameList±£´æ½á¹ûµÄ£¡
*/
public void listDict(String location, List<String> nameList) {
File fileList = new File(location);
if (fileList.isDirectory()) {
File[] files = fileList.listFiles();
for (File f : files) {
i ......

Java 7ÒѾ­Íê³ÉµÄÆß´óй¦ÄÜÔ¤ÀÀ

 ×î½üµÄDevoxx´ó»áÉÏ£¬Java 7½«°üº¬±Õ°üµÄÏûÏ¢ÁîºÜ¶àÈ˸е½Õñ·Ü——Õ⽫×öΪһ¸ö¶ÀÁ¢µÄJSR±»ÊµÏÖ¡£ÔÚÖÚ¶àJava 7еÄÓïÑÔÌØÐÔÖУ¬ÓÐһЩÏÖÔÚÒѾ­Íê³ÉÁË¡£Devoxx´ó»áµÄһλ²Î»áÕßÔÚ²©¿ÍÖб¨¸æÁËÏÂÃæÕâЩJava 7ÒѾ­Íê³ÉµÄ7´óй¦ÄÜ£º
1£©¶Ô¼¯ºÏÀàµÄÓïÑÔÖ§³Ö£»
2£©×Ô¶¯×ÊÔ´¹ÜÀí£»
3£©¸Ä½øµÄͨÓÃʵÀý´´½¨ÀàÐÍÍ ......

JAVAÖеÄÒÀÀµµ¹Ô­Ôò

JAVAÖеÄÒÀÀµµ¹Ô­Ôò
ÃÀ¹ú·¨ÂÉÓÐÒ»Ìõ×î»ù±¾µÄ×¼Ôò¾ÍÊÇ“ÈËÈËƽµÈ”£¬ÎÒÃDz»È¥¹ÜËüÊǾ­¹ýʲôÑùµÄ¶·Õù¡¢Ê²Ã´ÑùµÄÁ÷ѪÎþÉü»»À´µÄ£¬Ö»°ÑËüÀí½âΪһ¸öJAVA·½·¨£¬¸Ã·½·¨¶¨ÒåÈçÏ£º
    public final boolean ÈËÈËƽµÈ(ÈË1£¬ÈË2){
       return true;
  &n ......

JavaÄÚ´æÒç³öµÄÏêϸ½â¾ö·½°¸(ת)

  ±¾ÎĽéÉÜÁËJavaÄÚ´æÒç³öµÄÏêϸ½â¾ö·½°¸¡£±¾ÎÄ×ܽáÄÚ´æÒç³öÖ÷ÒªÓÐÁ½ÖÖÇé¿ö£¬¶øJVM¾­³£µ÷ÓÃÀ¬»ø»ØÊÕÆ÷½â¾öÄÚ´æ¶Ñ²»×ãµÄÎÊÌ⣬µ«ÊÇÓÐʱÈÔ»áÓÐÄÚ´æ²»×ãµÄ´íÎó¡£×÷Õß·ÖÎöÁËJVMÄÚ´æÇøÓò×é³É¼°JVMÉèÖÃÐéÄâÄÚ´æµÄ·½Ê½£¬´Ó¶ø¸ø³öÁËһϵÁнâ¾ö·½°¸¡£ Ò»¡¢ÄÚ´æÒç³öÀàÐÍ 1¡¢java.lang.OutOfMemoryError: PermGen space JVM¹ ......

Java Mail·¢ËÍ´øÓÐͼƬµÄhtml¸ñʽµÄÓʼþ

 Java Mail·¢ËÍ´øÓÐͼƬµÄhtml¸ñʽµÄÓʼþ£¬Õë¶ÔÓÚÏÔʾͼƬ£¬Ò»°ãÓÐÁ½ÖÖ·½·¨¡£
1. ͼƬ´æÔÚÓÚ·þÎñÆ÷ÉÏ£¬ÎÒÃÇÖ»ÐèÒª°ÑͼƬÔÚ·þÎñÆ÷µÄµÄÁ´½Ó·Å½øÈ¥¼´¿É¡£
ÕâÖÖ·¢Ê½±È½Ï¼òµ¥£¬µ«ÊÇÕâÖÖ·½·¨ÓÐЩȱÏÝ£º
ͼƬ²»Ö§³ÖÀëÏßä¯ÀÀ£»
ÿ´Îä¯ÀÀÓʼþÐèÒª·ÃÎÊweb·þÎñ£¬Ôö¼Ó·þÎñÆ÷¸ºµ££»
ÈôͼƬÒÔ¶þ½øÖƵķ½Ê½´æÔÚÓÚÊý¾Ý¿â»òÊǶ¯Ì¬É ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ