?? printcommand.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 + -