net.sf.mmm.util.text.api
Class TextColumn
java.lang.Object
net.sf.mmm.util.text.api.TextColumn
- Direct Known Subclasses:
- DefaultLineWrapper.ColumnState
public class TextColumn
- extends Object
This class is a simple container for the text
of a column
together with its metadata
.
- Since:
- 2.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
- See Also:
LineWrapper.wrap(Appendable, TextTableInfo, TextColumn[])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
text
private final String text
- See Also:
getText()
columnInfo
private final TextColumnInfo columnInfo
- See Also:
getColumnInfo()
TextColumn
public TextColumn(String text,
TextColumnInfo columnInfo)
- The constructor.
- Parameters:
text
- is the text
.columnInfo
- is the column-info
.
getText
public String getText()
- This method gets the text of this column.
- Returns:
- the column text.
getColumnInfo
public TextColumnInfo getColumnInfo()
- This method gets the
TextColumnInfo
holding the metadata of the
column.
- Returns:
- the column-info.
Copyright © 2001-2010 mmm-Team. All Rights Reserved.