|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.example.ExampleFormatter.SimpleCommand
public static class ExampleFormatter.SimpleCommand
Implements some simple format commands like 'a' for all attributes or 'l' for the label.
| Field Summary | |
|---|---|
private java.lang.String[] |
arguments
|
private char |
command
|
| Constructor Summary | |
|---|---|
private |
ExampleFormatter.SimpleCommand(char command,
java.lang.String[] arguments)
|
| Method Summary | |
|---|---|
java.lang.String |
format(Example example)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private char command
private java.lang.String[] arguments
| Constructor Detail |
|---|
private ExampleFormatter.SimpleCommand(char command,
java.lang.String[] arguments)
| Method Detail |
|---|
public java.lang.String format(Example example)
format in interface ExampleFormatter.FormatCommand
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||