uk.co.petertribble.solview
Class InfoCommand

java.lang.Object
  extended by uk.co.petertribble.solview.InfoCommand

public class InfoCommand
extends java.lang.Object


Constructor Summary
InfoCommand(java.lang.String text, java.lang.String cmd)
          An informational command.
InfoCommand(java.lang.String text, java.lang.String cmd, java.lang.String args)
          An informational command.
 
Method Summary
 boolean exists()
          Return whether the filename corresponding to the pathname exists.
 java.lang.String getFullCmd()
          Return the full comand executed for this informational command, including any arguments.
 java.lang.String getOutput()
          Return the textual output from executing this informational command.
 java.lang.String toString()
          Override toString() to give the informational name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InfoCommand

public InfoCommand(java.lang.String text,
                   java.lang.String cmd)
An informational command.


InfoCommand

public InfoCommand(java.lang.String text,
                   java.lang.String cmd,
                   java.lang.String args)
An informational command. with arguments.

Method Detail

toString

public java.lang.String toString()
Override toString() to give the informational name.

Overrides:
toString in class java.lang.Object

getFullCmd

public java.lang.String getFullCmd()
Return the full comand executed for this informational command, including any arguments.


exists

public boolean exists()
Return whether the filename corresponding to the pathname exists.


getOutput

public java.lang.String getOutput()
Return the textual output from executing this informational command.