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:42:31 GMT

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

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

Noting that other WordUtils methods use a char[] to define the customizable word separator,
so supporting char[] is probably fine.

> 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