Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.ode.utils.cli
Class ConsoleFormatter

    java.lang.Object
      org.apache.ode.utils.cli.ConsoleFormatter

    public class ConsoleFormatter

extends java.lang.Object

Constructor Summary
`ConsoleFormatter()`

Method Summary
`static java.lang.String` | `formatHelp(Fragments f)`
`static java.lang.String` | `formatUsage(java.lang.String command, Fragments f)`
`static void` | `printSynopsis(java.lang.String command, java.lang.String synposis, Fragments[] frags)`
`static java.lang.String` | `rightPadToWidth(java.lang.String s, int w)`
`static java.lang.String` | `wrap(java.lang.String s, int left)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ConsoleFormatter

    public ConsoleFormatter()

Method Detail

### formatUsage

    public static java.lang.String formatUsage(java.lang.String command,
                                               Fragments f)

### formatHelp

    public static java.lang.String formatHelp(Fragments f)

### rightPadToWidth

    public static java.lang.String rightPadToWidth(java.lang.String s,
                                                   int w)

### wrap

    public static java.lang.String wrap(java.lang.String s,
                                        int left)

### printSynopsis

    public static void printSynopsis(java.lang.String command,
                                     java.lang.String synposis,
                                     Fragments[] frags)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD