Class ColorsBasic
- java.lang.Object
-
- com.github.rvesse.airline.examples.io.ColorDemo<BasicColor>
-
- com.github.rvesse.airline.examples.io.ColorsBasic
-
- All Implemented Interfaces:
ExampleRunnable
@Command(name="colors-basic", description="Displays some text in ANSI basic colors (if your terminal supports this)") public class ColorsBasic extends ColorDemo<BasicColor> implements ExampleRunnable
-
-
Constructor Summary
Constructors Constructor Description ColorsBasic()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BasicColor[]
getColors()
static void
main(java.lang.String[] args)
protected ColorizedOutputStream<BasicColor>
openOutputStream()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.rvesse.airline.examples.ExampleRunnable
run
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
openOutputStream
protected ColorizedOutputStream<BasicColor> openOutputStream()
- Specified by:
openOutputStream
in classColorDemo<BasicColor>
-
getColors
protected BasicColor[] getColors()
- Specified by:
getColors
in classColorDemo<BasicColor>
-
-