org.apache.maven.announcement
Class Formatter
java.lang.Object
org.apache.maven.announcement.Formatter
public final class Formatter
- extends Object
Format text by wrapping it if it goes beyond some column position.
- Version:
- $Id: Formatter.java 529166 2007-04-16 08:31:26Z ltheussl $
- Author:
- Vincent Massol
Method Summary |
List |
format(String text,
int column)
Format text by wrapping it if it goes beyond the passed column value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Formatter
public Formatter()
format
public List format(String text,
int column)
- Format text by wrapping it if it goes beyond the passed column value.
- Parameters:
text
- the text to formatcolumn
- the max column position
- Returns:
- the wrapped text
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.