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

📄 printcommand.java

📁 使用java rmi编写的一个议程服务系统
💻 JAVA
字号:
package agendaClient;

/**
 * 打印系统的操作命令格式
 * @author Crise.Lee
 * @version 1.0
 */
public class printCommand {
	/**
	 * 打印系统的命令格式
	 */
	public static void printCommandFormat()
	{
		System.out.println("");
		System.out.println("                               本系统的命令格式                                ");
		System.out.println();
		System.out.println("    1. java client [host] [port] register [username] [password]");
		System.out.println("    2. java client [host] [port] add      [username] [password] [other] [startTime] [endTime] [meetingTitle]");
		System.out.println("    3. java client [host] [port] query    [username] [password] [startTime] [endTime] ");
		System.out.println("    4. java client [host] [port] delete   [username] [password] [meetingTitle]");
		System.out.println("    5. java client [host] [port] clear    [username] [password]");
		System.out.println("");
	}
	
	/**
	 * 打印用户注册的命令格式
	 */
	public static void printRegisterFormat()
	{
		System.out.println("***********************************************************");
		System.out.println("***********************************************************");
		System.out.println("                   系统用户注册的命令格式                              ");
		System.out.println();
		System.out.println("   java client [host] [port] register [username] [password]");
		System.out.println("***********************************************************");
	}
	/**
	 * 打印添加会议的命令格式
	 */
	public static void printAddFormat()
	{
		System.out.println("***********************************************************");
		System.out.println("***********************************************************");
		System.out.println("                   系统添加会的议命令格式                          ");
		System.out.println();
		System.out.println("   java client [host] [port] add [username] [password] [other] [startTime] [endTime] [meetingTitle]");
		System.out.println("***********************************************************");
	}
	/**
	 * 打印查询会议的命令格式
	 */
	public static void printQueryFormat()
	{
		System.out.println("***********************************************************");
		System.out.println("***********************************************************");
		System.out.println("                   系统查询会议的命令格式                          ");
		System.out.println();
		System.out.println("   java client [host] [port] query [username] [password] [startTime] [endTime] ");
		System.out.println("***********************************************************");
	}
	/**
	 * 打印删除会议的命令格式
	 */
	public static void printDeleteFormat()
	{
		System.out.println("***********************************************************");
		System.out.println("***********************************************************");
		System.out.println("                   系统删除会议的命令格式                          ");
		System.out.println();
		System.out.println("   java client [host] [port] delete [username] [password] [meetingTitle]");
		System.out.println("***********************************************************");
	}
	
	/**
	 * 打印清除用户所有会议的命令格式
	 */
	public static void printClearFormat()
	{
		System.out.println("***********************************************************");
		System.out.println("***********************************************************");
		System.out.println("                   系统清楚会议的命令格式                          ");
		System.out.println();
		System.out.println("   java client [host] [port] clear [username] [password]");
		System.out.println("***********************************************************");
	}

}

⌨️ 快捷键说明

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