planetj.as400
Class As400Command
java.lang.Object
planetj.as400.As400Command
- public class As400Command
- extends java.lang.Object
Method Summary |
java.util.List |
getMessages()
Gets a List of messages (String's) for displaying. |
java.lang.String |
getSpoolfFileName()
Get the spooled file name in case we want to display the spooled file name. |
java.util.List |
getSpoolFile()
Get the spooled file as a List (of String's). |
void |
run(java.lang.String cmd,
java.lang.String alias,
HttpServletResponse response)
Run the AS/400 command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLAIN_TEXT
public static final java.lang.String PLAIN_TEXT
- See Also:
- Constant Field Values
As400Command
public As400Command()
run
public void run(java.lang.String cmd,
java.lang.String alias,
HttpServletResponse response)
throws CMException
- Run the AS/400 command.
- Throws:
CMException
getMessages
public java.util.List getMessages()
- Gets a List of messages (String's) for displaying.
getSpoolfFileName
public java.lang.String getSpoolfFileName()
- Get the spooled file name in case we want to display the spooled file name.
getSpoolFile
public java.util.List getSpoolFile()
- Get the spooled file as a List (of String's). Each entry represents 1 line of the spooled file, where the 1st line = line # 1 of the spooled file.