⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 task.java

📁 ftp client with java
💻 JAVA
字号:
/* * 10/01/2001 - 15:52:00 * * FtpGUI - Ftp client written in Java * Copyright (C) 2001 Kostadin Kirilov Kostadinov * k3co@hotmail.com * sourceforge.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */package ftpgui;/** * Title:        FtpGUI * Description: * Copyright:    Copyright (c) 2001 * Company: * @author * @version 1.0 */import java.lang.reflect.*;public class Task{    private Method m_objMethod;    private Object m_obj;    private Object[] m_args;    public boolean m_booDone=false;    public Task(Method objMethod,Object obj, Object[] args)    {        m_objMethod=objMethod;        m_obj=obj;        m_args=args;    }    public Object execTask()            throws InvocationTargetException,IllegalAccessException    {        Object obj=m_objMethod.invoke(m_obj, m_args);        m_booDone=true;        return obj;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -