160b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair/* 260b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * Copyright 2007 the original author or authors. 360b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * 460b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * Licensed under the Apache License, Version 2.0 (the "License"); 560b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * you may not use this file except in compliance with the License. 660b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * You may obtain a copy of the License at 760b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * 860b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * http://www.apache.org/licenses/LICENSE-2.0 960b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * 1060b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * Unless required by applicable law or agreed to in writing, software 1160b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * distributed under the License is distributed on an "AS IS" BASIS, 1260b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1360b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * See the License for the specific language governing permissions and 1460b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * limitations under the License. 1560b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair */ 1660b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismairpackage org.mockftpserver.core.command; 1760b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair 1860b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair/** 1960b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * FTP command name constants. 2060b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * 2160b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * @author Chris Mair 2260b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * @version $Revision$ - $Date$ 2360b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair */ 2460b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismairpublic final class CommandNames { 2560b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair 2660b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String ABOR = "ABOR"; 2760b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String ACCT = "ACCT"; 2860b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String ALLO = "ALLO"; 2960b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String APPE = "APPE"; 3060b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String CDUP = "CDUP"; 3160b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String CWD = "CWD"; 3260b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String DELE = "DELE"; 3360b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String HELP = "HELP"; 3460b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String LIST = "LIST"; 3560b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String MKD = "MKD"; 3660b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String MODE = "MODE"; 3760b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String NLST = "NLST"; 3860b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String NOOP = "NOOP"; 3960b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String PASS = "PASS"; 4060b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String PASV = "PASV"; 4160b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String PORT = "PORT"; 4260b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String PWD = "PWD"; 4360b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String QUIT = "QUIT"; 4460b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String REIN = "REIN"; 4560b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String REST = "REST"; 4660b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String RETR = "RETR"; 4760b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String RMD = "RMD"; 4860b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String RNFR = "RNFR"; 4960b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String RNTO = "RNTO"; 5060b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String SITE = "SITE"; 5160b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String SMNT = "SMNT"; 5260b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String STAT = "STAT"; 5360b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String STOR = "STOR"; 5460b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String STOU = "STOU"; 5560b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String STRU = "STRU"; 5660b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String SYST = "SYST"; 5760b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String TYPE = "TYPE"; 5860b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String USER = "USER"; 5960b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair 6060b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String XPWD = "XPWD"; 6160b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair 6260b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair // Special commands - not "real" FTP commands 6360b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String CONNECT = "CONNECT"; 6460b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair public static final String UNSUPPORTED = "UNSUPPORTED"; 6560b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair 6660b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair /** 6760b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair * Private constructor. This class should not be instantiated. 6860b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair */ 6960b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair private CommandNames() { 7060b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair } 7160b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair 7260b81e2faf8511148f0d1e8f296e0b40ce9c7971chrismair} 73