Package | Description |
---|---|
net.sf.mmm.util.cli.base |
Contains the base-implementation of utilities that help to build command-line-interfaces (CLI).
|
net.sf.mmm.util.text.api |
Provides the API for utilities that help with textual operations.
|
net.sf.mmm.util.text.base |
Provides the base-implementation of text-util API.
|
Modifier and Type | Field and Description |
---|---|
private TextTableInfo |
AbstractCliParser.CliHelpWriter.tableInfo
The
TextTableInfo . |
Modifier and Type | Method and Description |
---|---|
int |
LineWrapper.wrap(Appendable appendable,
TextTableInfo tableInfo,
String columnText,
TextColumnInfo columnInfo)
|
int |
LineWrapper.wrap(Appendable appendable,
TextTableInfo tableInfo,
String column1Text,
TextColumnInfo column1Info,
String column2Text,
TextColumnInfo column2Info)
This method is like
LineWrapper.wrap(Appendable, TextTableInfo, String, TextColumnInfo) but for a two-column
layout. |
int |
LineWrapper.wrap(Appendable appendable,
TextTableInfo tableInfo,
String column1Text,
TextColumnInfo column1Info,
String column2Text,
TextColumnInfo column2Info,
String column3Text,
TextColumnInfo column3Info)
This method is like
LineWrapper.wrap(Appendable, TextTableInfo, String, TextColumnInfo) but for a
three-column layout. |
int |
LineWrapper.wrap(Appendable appendable,
TextTableInfo tableInfo,
TextColumn... columns)
This method is like
LineWrapper.wrap(Appendable, TextTableInfo, String, TextColumnInfo, String, TextColumnInfo, String, TextColumnInfo)
for any number of columns. |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultLineWrapper.autoAdjustWidthOfColumns(DefaultLineWrapper.ColumnState[] columnStates,
TextTableInfo tableInfo)
This method calculates the
width of the columns to
auto-adjust . |
private boolean |
DefaultLineWrapper.verifyWithOfColumns(DefaultLineWrapper.ColumnState[] columnStates,
TextTableInfo tableInfo)
This method verifies that the width of the columns are sane.
|
int |
AbstractLineWrapper.wrap(Appendable appendable,
TextTableInfo tableInfo,
String columnText,
TextColumnInfo columnInfo) |
int |
AbstractLineWrapper.wrap(Appendable appendable,
TextTableInfo tableInfo,
String column1Text,
TextColumnInfo column1Info,
String column2Text,
TextColumnInfo column2Info) |
int |
AbstractLineWrapper.wrap(Appendable appendable,
TextTableInfo tableInfo,
String column1Text,
TextColumnInfo column1Info,
String column2Text,
TextColumnInfo column2Info,
String column3Text,
TextColumnInfo column3Info) |
int |
DefaultLineWrapper.wrap(Appendable appendable,
TextTableInfo tableInfo,
TextColumn... columns) |
Copyright © 2001–2016 mmm-Team. All rights reserved.