?? setupcommandfactory.java
字號:
/************************************************************************* * * * EJBCA: The OpenSource Certificate Authority * * * * This software 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.1 of the License, or any later version. * * * * See terms of license at gnu.org. * * * *************************************************************************/ package se.anatom.ejbca.admin;/** * Factory for General Setup Commands. * * @version $Id: SetupCommandFactory.java,v 1.2 2004/04/16 07:38:57 anatom Exp $ */public class SetupCommandFactory { /** * Cannot create an instance of this class, only use static methods. */ private SetupCommandFactory() { } /** * Returns an Admin Command object based on contents in args[0]. * * @param args array of arguments typically passed from main(). * * @return Command object or null if args[0] does not specify a valid command. */ public static IAdminCommand getCommand(String[] args) { if (args.length < 1) { return null; } if (args[0].equals("setbaseurl")) { return new SetupSetBaseURLCommand(args); } else { return null; } } // getCommand}// CaAdminCommandFactory
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -