• 大小: 0.01M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-20
  • 语言: Java
  • 标签:

资源简介

Java 删除磁盘中所有的.tmp临时文件(基础篇-实例419).zip

资源截图

代码片段和文件信息

package com.lzw;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.File;

import javax.swing.BoxLayout;
import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.Jframe;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.border.BevelBorder;
import javax.swing.border.EmptyBorder;
import javax.swing.table.DefaultTableModel;

public class DeleteAllTempFile extends Jframe {
    
    private JPanel contentPane;
    private JTable table;
    private JList driverList;
    private SearchThread searchThread;
    private JProgressBar progressBar;
    
    /**
     * Launch the application.
     */
    pu

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         301  2010-06-09 10:51  .classpath
     文件         379  2010-09-07 16:38  .project
     文件         635  2010-06-09 10:51  .settings\org.eclipse.jdt.core.prefs
     文件         764  2013-11-21 08:41  bin\com\lzw\DeleteAllTempFile$1.class
     文件         699  2013-11-21 08:41  bin\com\lzw\DeleteAllTempFile$2.class
     文件         887  2013-11-21 08:41  bin\com\lzw\DeleteAllTempFile$3.class
     文件         732  2013-11-21 08:41  bin\com\lzw\DeleteAllTempFile$4.class
     文件         731  2013-11-21 08:41  bin\com\lzw\DeleteAllTempFile$5.class
     文件        5789  2013-11-21 08:41  bin\com\lzw\DeleteAllTempFile.class
     文件         840  2013-11-21 08:41  bin\com\lzw\SearchThread$TempFileFilter.class
     文件        2169  2013-11-21 08:41  bin\com\lzw\SearchThread.class
     文件        6523  2010-06-10 08:40  src\com\lzw\DeleteAllTempFile.java
     文件        2304  2010-06-10 08:37  src\com\lzw\SearchThread.java

评论

共有 条评论