You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/05/17 07:06:08 UTC
[jira] Closed: (LANG-195) [lang] String indentation feature request
[ http://issues.apache.org/jira/browse/LANG-195?page=all ]
Henri Yandell closed LANG-195:
------------------------------
Resolution: Won't Fix
> [lang] String indentation feature request
> -----------------------------------------
>
> Key: LANG-195
> URL: http://issues.apache.org/jira/browse/LANG-195
> Project: Commons Lang
> Type: Improvement
> Environment: Operating System: All
> Platform: All
> Reporter: Michael Dang
> Priority: Minor
> Attachments: StringUtils.java, StringUtilsTest.java
>
> It would be nice to have a StringUtils.indentBlock(int size) method which go
> through a multi-line string and indent each line by size spaces, and/or a more
> general form of this.
> This helps greatly on nested toString() formatting. Such as a high level
> component spit out its toString() while calling StringUtils.join() to include
> its subcomponents' toString(), but you want to indent the subcomponent's string
> in a nested way. Well, to push this idea further, we may want a self format a
> object's toString form as a nice indented XML string.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org