commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-280) Improve wrap method on WordUtils
Date Sun, 18 Oct 2009 07:40:31 GMT

    [ https://issues.apache.org/jira/browse/LANG-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767018#action_12767018
] 

Henri Yandell commented on LANG-280:
------------------------------------

Oldest issue in 3.0, so a good one to close :)

Additional thought for WordUtils.wrap(...). The whitespace character should be configurable.
Though it should be configurable beyond a character or String - maybe a String[].


> Improve wrap method on WordUtils
> --------------------------------
>
>                 Key: LANG-280
>                 URL: https://issues.apache.org/jira/browse/LANG-280
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: David Leal
>             Fix For: 3.0
>
>
> Just to suggest to add methods that return String[] too. With such methods you have the
control of each line wrapped.
> Consider additional parameter that fill with blanks to the end of the wrapLength, usefull
for printing lines with same lengths, for example to be used for printing information in text
table with fixed length for each row.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message