exeprocess.java

来自「系统运行时的截屏图:webstart_screen01.gif/webstart」· Java 代码 · 共 94 行

JAVA
94
字号
/**
 * Copyright(c) 2005 Dragonfly - created by FengChun
 * All Rights Reserved.
 *
 * Package: org.dragonfly.webstart
 * FileName: ExeProcess.java
 *
 * Version: 1.0
 * Created: 2005-5-13 18:10:35
 * Updated: 2005-5-20 18:10:35
 *
 * Author: FengChun - f15_nsm@hotmail.com
 * Description:
 * Function:
 *
 */

package org.dragonfly.webstart.runtime;


public class ExeProcess {
	public final static int RUNNING = 0;
	public final static int STOPPED = 1;
        public final static int CLEARED = 2;

	private String name = "";
	private Process process = null;
	private String startTime = "";
	private int state = RUNNING;

	public ExeProcess(String name, Process process, String startTime){
		this.name = name;
		this.process = process;
		this.startTime = startTime;
	}

	/**
	 * @return
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return
	 */
	public Process getProcess() {
		return process;
	}

	/**
	 * @param string
	 */
	public void setName(String string) {
		name = string;
	}

	/**
	 * @param process
	 */
	public void setProcess(Process process) {
		this.process = process;
	}

	/**
	 * @return
	 */
	public String getStartTime() {
		return startTime;
	}

	/**
	 * @param string
	 */
	public void setStartTime(String string) {
		startTime = string;
	}

	/**
	 * @return
	 */
	public int getState() {
		return state;
	}

	/**
	 * @param i
	 */
	public void setState(int i) {
		state = i;
	}

}

⌨️ 快捷键说明

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