javaɾ³ýÎļþ¼Ð
1. package book.io;
2.
3. import java.io.File;
4.
5. /**
6. *
7. * @author XWZ
8. * 2007-11-27
9. * ɾ³ýÎļþ»òĿ¼
10. */
11. public class DeleteFileUtil {
12. /**
13. * ɾ³ýÎļþ£¬¿ÉÒÔÊǵ¥¸öÎļþ»òÎļþ¼Ð
14. * @param fileName ´ýɾ³ýµÄÎļþÃû
15. * @return Îļþɾ³ý³É¹¦·µ»Øtrue,·ñÔò·µ»Øfalse
16. */
17. public static boolean delete(String fileName){
18. File file = new File(fileName);
19. if(!file.exists()){
20. System.out.println("ɾ³ýÎļþʧ°Ü£º"+fileName+"Îļþ²»´æÔÚ");
21. return false;
22. }else{
23. if(file.isFile()){
24.
25. return deleteFile(fileName);
26. }else{
27. &nb
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
¸öÈ˼òÀú
¸öÈËÐÅÏ¢
ÐÕÃû
£º
Öì½ð¹ú
ÐÔ±ð
£º
ÄÐ
³öÉúÈÕÆÚ
£º
1988
Äê
1
ÔÂ
9
ÈÕ
Email
£º
zhujinguo2009@gmail.com
  ......
±¾ÏµÁÐÎÄÕÂµÄµÚ 1 ²¿·Ö½éÉÜÁË Java Card ¼¼ÊõµÄ¸ß¼¶ÖªÊ¶ —— ʲôÊÇÖÇÄÜ¿¨¡¢Java Card Ó¦ÓóÌÐòµÄÔªËØ¡¢Í¨ÐźͲ»Í¬ Java Card ¼¼Êõ¹æ·¶µÄ»ã×Ü¡£ÔÚ±¾²¿·ÖÖУ¬ÎÒÃǽ«Öصã½éÉÜ Java Card applet µÄ¿ª·¢£º¿ª·¢ Java Card Ó¦ÓóÌÐò¡¢Sun Java Card ¿ª·¢¹¤¾ßÏä¡¢Java Card ºÍ Java Card RMI API ʱËùÐèµÄÒ»°ã² ......
/**
* @(#)MyTray.java
*
*
* @author Xie Xiaojin
* @version 1.00 2009/11/9
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class MyTray implements ActionListener {
private MenuItem item1;
private MenuItem item2;
private MenuItem item3;
private ......
1. JavaÓïÑÔ»ù´¡
̸µ½JavaÓïÑÔ»ù´¡Ñ§Ï°µÄÊé¼®£¬´ó¼Ò¿Ï¶¨»áÍÆ¼öBruce EckelµÄ¡¶Thinking in Java¡·¡£ËüÊÇÒ»±¾Ð´µÄÏ൱Éî¿ÌµÄ¼¼ÊõÊé¼®£¬JavaÓïÑÔ»ù´¡²¿·Ö»ù±¾Ã»ÓÐÆäËüÈκÎÒ»±¾Êé¿ÉÒÔ³¬Ô½Ëü¡£¸ÃÊéµÄ×÷ÕßBruce EckelÔÚÍøÂçÉϱ»³ÆÎªÌì²ÅµÄͶ»úÕߣ¬×÷Õߵġ¶Thinking in C++¡·ÔÚ1995ÄêÔø»ñSoftwareDevelopment Jolt Award×î¼ÑÊ ......