public final class FormattingCLIUtils extends Object
Constructor and Description |
---|
FormattingCLIUtils(String title)
Contains the title constructor.
|
Modifier and Type | Method and Description |
---|---|
FormattingCLIUtils |
addHeaders(List<?> headers)
Adds elements from the collection to the header data in the table.
|
FormattingCLIUtils |
addLine(Object... objects)
Adds a row of normal data to the table.
|
String |
render()
Rendering is born as a result.
|
public FormattingCLIUtils(String title)
title
- titleNamepublic FormattingCLIUtils addHeaders(List<?> headers)
headers
- Header datapublic FormattingCLIUtils addLine(Object... objects)
objects
- Common row datapublic String render()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.