Class ColorDemo<T>
java.lang.Object
com.github.rvesse.airline.examples.io.ColorDemo<T>
- All Implemented Interfaces:
ExampleRunnable
- Direct Known Subclasses:
Colors256,ColorsBasic,ColorsTrue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract T[]protected abstract ColorizedOutputStream<T> intrun()Runs the command and returns an exit code that the application should return
-
Constructor Details
-
ColorDemo
public ColorDemo()
-
-
Method Details
-
openOutputStream
-
getColors
-
run
public int run()Description copied from interface:ExampleRunnableRuns the command and returns an exit code that the application should return- Specified by:
runin interfaceExampleRunnable- Returns:
- Exit code
-