資源簡介
將大量文件 按照文件擴展名進行 分類保存
代碼片段和文件信息
package?com.mingrisoft;
import?java.awt.EventQueue;
import?javax.swing.Jframe;
import?javax.swing.JPanel;
import?javax.swing.border.EmptyBorder;
import?javax.swing.JFileChooser;
import?javax.swing.JLabel;
import?javax.swing.JOptionPane;
import?javax.swing.JTextField;
import?javax.swing.JButton;
import?javax.swing.SwingUtilities;
import?javax.swing.UIManager;
import?java.awt.event.ActionListener;
import?java.awt.event.ActionEvent;
import?java.util.List;
public?class?Sortframe?extends?Jframe?{
????/**
?????*?
?????*/
????private?static?final?long?serialVersionUID?=?-5599266804083691574L;
????private?JPanel?contentPane;
????private?JTextField?pathTextField;
????/**
?????*?Launch?the?application.
?????*/
????public?static?void?main(String[]?args)?{
????????Eve
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????301??2011-05-23?19:43??.classpath
?????文件?????????379??2011-05-23?19:43??.project
?????目錄???????????0??2012-02-22?14:42??.settings\
?????文件?????????629??2011-05-23?19:43??.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2012-02-22?14:42??src\
?????目錄???????????0??2012-02-22?14:42??src\com\
?????目錄???????????0??2012-02-22?14:42??src\com\mingrisoft\
?????文件????????5096??2011-05-23?19:43??src\com\mingrisoft\Sortfr
?????文件????????2469??2011-05-23?19:43??src\com\mingrisoft\SortUtil.java
- 上一篇:java 在指定文件夾搜索指定類型的文件
- 下一篇:java批量復制指定擴展名文件
評論
共有 條評論