planetj.as400
Class As400Command

java.lang.Object
  extended byplanetj.as400.As400Command

public class As400Command
extends java.lang.Object


Field Summary
static java.lang.String PLAIN_TEXT
           
 
Constructor Summary
As400Command()
           
 
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
 

Field Detail

PLAIN_TEXT

public static final java.lang.String PLAIN_TEXT
See Also:
Constant Field Values
Constructor Detail

As400Command

public As400Command()
Method Detail

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.