Package net.util

Examples of net.util.BuildFolder


                // 获取当前时间作为任务id
                String timeId = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
                        .format(new Date());
                // 建立本地存放的目录
                BuildFolder bf = new BuildFolder(path, content);
                // 存放
                SystemConf.taskList.put(timeId, bf.getFiles());
                SystemConf.progress.put(timeId,
                        Long.valueOf(dp.getSenderName()));

                if (bf.getFiles().size() == 0) {
                    // 如果是空文件夹,传输就就结束了
                    NoticeGui.messageNotice(new JPanel(), "传送完毕");
                } else {
                    // 把需要传输的文件的路径发过去即可
                    String[] paths = content.split("\\|");
View Full Code Here

TOP

Related Classes of net.util.BuildFolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.