|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.example.ExampleFormatter.TextCommand
public static class ExampleFormatter.TextCommand
Returns simply the given text.
| Field Summary | |
|---|---|
private java.lang.String |
text
|
| Constructor Summary | |
|---|---|
private |
ExampleFormatter.TextCommand(java.lang.String text)
|
| 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 java.lang.String text
| Constructor Detail |
|---|
private ExampleFormatter.TextCommand(java.lang.String text)
| 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 | ||||||||