|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectc408h006.Command
A command sent to modify a file within the OmniEdtior system.
Constructor Summary | |
Command()
Default constructor. |
|
Command(int id,
java.lang.String fileName,
java.lang.String command,
int pos,
java.lang.String file)
Constructs an instance of this class. |
Method Summary | |
java.lang.String |
getCommand()
Returns the name of the command to be performed on the file. |
java.lang.String |
getFile()
Returns the file associated with the command being sent. |
java.lang.String |
getFileName()
Returns the name of the file the command is being sent to. |
int |
getID()
Returns the ID of the User sending the command. |
int |
getPosition()
Returns a position within the file relating to the command being sent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Command()
public Command(int id, java.lang.String fileName, java.lang.String command, int pos, java.lang.String file)
id
- The ID of the User sending the commandfileName
- The name of the file to be modifiedcommand
- The name of the command to be performed on the filepos
- A position within the file relating to the command
being sentfile
- A file to be sent to the OmniEditor system (in most
cases only set when calling the "download" command)Method Detail |
public int getID()
public java.lang.String getFileName()
public java.lang.String getCommand()
public int getPosition()
public java.lang.String getFile()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |