|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.interview.WizEdit
public class WizEdit
An API (with a basic front-end application) for batch editing an interview.
Nested Class Summary | |
---|---|
static class |
WizEdit.BadArgs
This exception is used to indicate a problem with the command line arguments. |
static class |
WizEdit.Fault
This exception is to report problems that occur while editing the responses to questions in an interview. |
Constructor Summary | |
---|---|
WizEdit(Interview interview)
Create an editor for the questions in an interview. |
Method Summary | |
---|---|
void |
edit(java.lang.String cmd)
Apply an edit to the set of responses in an interview. |
void |
edit(java.lang.String[] cmds)
Apply a series of edits to the set of responses in an interview. |
static void |
main(java.lang.String[] args)
Simple command-line front-end to the facilities of the API. |
void |
setVerbose(boolean verbose)
Set whether or not the edit should be done verbosely. |
void |
setVerbose(boolean verbose,
java.io.PrintStream out)
Set whether or not the edit should be done verbosely, and set the stream to which tracing information should be output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WizEdit(Interview interview)
interview
- The interview containing the responses to be edited.Method Detail |
---|
public static void main(java.lang.String[] args)
args
- Command line arguments.public void setVerbose(boolean verbose)
verbose
- Set to true for verbose mode, and false otherwise.setVerbose(boolean, PrintStream)
public void setVerbose(boolean verbose, java.io.PrintStream out)
verbose
- Set to true for verbose mode, and false otherwise.out
- The stream to which verbose output should be directed.public void edit(java.lang.String[] cmds) throws WizEdit.Fault
cmds
- A set of editing commands to apply to the responses.
WizEdit.Fault
- if there is a problem while applying the edits.edit(String)
public void edit(java.lang.String cmd) throws WizEdit.Fault
cmd
- An edit command to apply to the responses.
WizEdit.Fault
- if there is a problem while applying the edit.edit(String[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |