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

📄 commandlineelement.java

📁 纯java操作系统jnode,安装简单和操作简单的个人使用的Java操作系统
💻 JAVA
字号:
/*
 * $Id: CommandLineElement.java,v 1.1 2003/11/25 11:52:57 epr Exp $
 */

package org.jnode.shell.help;

/**
 * @author qades
 */
abstract class CommandLineElement {
	private final String name;
	private final String description;

	public CommandLineElement(String name, String description) {
		this.name = name;
		this.description = description;
	}

	public String getName() {
		return name;
	}

	public String getDescription() {
		return description;
	}

	public abstract String format();
	public abstract void describe(Help help);
	public abstract String complete(String partial);

	/** 
	 * Indicates if the element is satisfied.
	 * I.e. not taking any more values.
	 * @return <code>false</code> if the element takes more argument values;
	 * <code>false</code> otherwise
	 */
	public abstract boolean isSatisfied();

}

⌨️ 快捷键说明

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