//============================================================================== // VarNames.java //============================================================================== package tribble.net.ftp.shell; // System imports import java.lang.Exception; import java.lang.String; /******************************************************************************* * FTP command script interpreter builtin var names. * * * @version $Revision: 1.4 $ $Date: 2007/06/01 02:51:34 $ * @since API 1.0, 2007-04-06 * @author David R. Tribble (david@tribble.com). *

* Copyright ©2007 by David R. Tribble, all rights reserved.
* Permission is granted to any person or entity except those designated by * by the United States Department of State as a terrorist, or terrorist * government or agency, to use and distribute this source code provided * that the original copyright notice remains present and unaltered. * * @see CommandParser * @see Interp */ interface VarNames { // Identification /** Revision information. */ static final String REV = "@(#)tribble/net/ftp/shell/VarNames.java $Revision: 1.4 $ $Date: 2007/06/01 02:51:34 $\n"; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Constants //---------------------------------------- // Predefined builtin (global) var names static final String VAR_CMDPORT = "Cmdport"; static final String VAR_COMMANDCNT = "Commandcnt"; //static final String VAR_CONNECTTIME = "Connecttime[]"; static final String VAR_DATAPORT = "Dataport"; static final String VAR_ERROR = "Error"; static final String VAR_ERRORCMD = "Errorcmd"; static final String VAR_ERRORCNT = "Errorcnt"; static final String VAR_ERRORMSG = "Errormsg"; static final String VAR_FILENAME = "Filename"; static final String VAR_HOST = "Host"; static final String VAR_LINENUM = "Linenum"; static final String VAR_LOCALDIR = "Localdir"; static final String VAR_PASSWORD = "Password"; static final String VAR_PORT = "Port"; static final String VAR_RANDOM = "Random"; static final String VAR_REMOTEDIR = "Remotedir"; static final String VAR_SESSIONCNT = "Sessioncnt"; static final String VAR_TIME = "Time"; //static final String VAR_RESPONSE = "Response"; static final String VAR_TIMEOUT = "Timeout"; static final String VAR_TZOFFSET = "Tzoffset"; static final String VAR_USER = "User"; //---------------------------------------- // Predefined builtin 'foreach' var names static final String VAR_FILE = "F"; static final String VAR_FILE_DIRSEP = "F_"; static final String VAR_FILE_DIR = "Fd"; static final String VAR_FILE_EXT = "Fe"; static final String VAR_FILE_FILE = "Ff"; static final String VAR_FILE_GROUP = "Fg"; static final String VAR_FILE_HOST = "Fh"; static final String VAR_FILE_PERMS = "Fm"; static final String VAR_FILE_NAME = "Fn"; static final String VAR_FILE_OWNER = "Fo"; static final String VAR_FILE_PATH = "Fp"; static final String VAR_FILE_SIZE = "Fs"; static final String VAR_FILE_TYPE = "Fx"; /*+++INCOMPLETE //---------------------------------------- // Predefined builtin date/time var names static final String VAR_TIME_WKDAY = "Ta"; static final String VAR_TIME_MONTH = "Tb"; static final String VAR_TIME_MDAY = "TD"; static final String VAR_TIME_HOUR = "Th"; static final String VAR_TIME_DAYMIN = "Ti"; static final String VAR_TIME_YDAY = "Tj"; //static final String VAR_TIME_LOCALZ = "TL"; static final String VAR_TIME_MIN = "Tm"; static final String VAR_TIME_MON = "TM"; static final String VAR_TIME_SECS = "TN"; static final String VAR_TIME_SEC = "Ts"; static final String VAR_TIME_DAYSEC = "TS"; static final String VAR_TIME_MSEC = "Tu"; //static final String VAR_TIME_UTC = "TU"; static final String VAR_TIME_YEAR2 = "Ty"; static final String VAR_TIME_YEAR = "TY"; static final String VAR_TIME_TZOFF = "TZ"; +++*/ } // End VarNames.java