You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sean Nguyen (JIRA)" <ji...@apache.org> on 2010/12/08 09:27:00 UTC

[jira] Created: (LANG-665) Convert ToStringBuilder output to java object

Convert ToStringBuilder output to java object
---------------------------------------------

                 Key: LANG-665
                 URL: https://issues.apache.org/jira/browse/LANG-665
             Project: Commons Lang
          Issue Type: New Feature
          Components: lang.builder.*
    Affects Versions: 3.0
            Reporter: Sean Nguyen


I would be nice to be able to convert output from ToStringBuilder back to java object. It is tremendously helpful to be able quickly re-create test scenario from your log file when object are logged using ToStringBuilder.

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


[jira] Commented: (LANG-665) Convert ToStringBuilder output to java object

Posted by "Joerg Schaible (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LANG-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970213#action_12970213 ] 

Joerg Schaible commented on LANG-665:
-------------------------------------

Because commons-lang is about utilities, helpers and basic enhancements around the JDK functionality. A generalized functionality to recreate objects from their String representation is more an own framework.

> Convert ToStringBuilder output to java object
> ---------------------------------------------
>
>                 Key: LANG-665
>                 URL: https://issues.apache.org/jira/browse/LANG-665
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.builder.*
>    Affects Versions: 3.0
>            Reporter: Sean Nguyen
>
> I would be nice to be able to convert output from ToStringBuilder back to java object. It is tremendously helpful to be able quickly re-create test scenario from your log file when object are logged using ToStringBuilder.

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


[jira] Commented: (LANG-665) Convert ToStringBuilder output to java object

Posted by "Sean Nguyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LANG-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970150#action_12970150 ] 

Sean Nguyen commented on LANG-665:
----------------------------------

I agree that this is harder then going from object to String. But I don't understand why it is out of scope. Can you explain?

> Convert ToStringBuilder output to java object
> ---------------------------------------------
>
>                 Key: LANG-665
>                 URL: https://issues.apache.org/jira/browse/LANG-665
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.builder.*
>    Affects Versions: 3.0
>            Reporter: Sean Nguyen
>
> I would be nice to be able to convert output from ToStringBuilder back to java object. It is tremendously helpful to be able quickly re-create test scenario from your log file when object are logged using ToStringBuilder.

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


[jira] Commented: (LANG-665) Convert ToStringBuilder output to java object

Posted by "Joerg Schaible (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LANG-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969248#action_12969248 ] 

Joerg Schaible commented on LANG-665:
-------------------------------------

Actually I think this is completely our of scope for commons-lang. Creating a String representation of an object is something completely different (and simple) compared to the recreation of an equivalent object graph. If you have the need for something like this, you can use specialized libraries like XStream.

> Convert ToStringBuilder output to java object
> ---------------------------------------------
>
>                 Key: LANG-665
>                 URL: https://issues.apache.org/jira/browse/LANG-665
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.builder.*
>    Affects Versions: 3.0
>            Reporter: Sean Nguyen
>
> I would be nice to be able to convert output from ToStringBuilder back to java object. It is tremendously helpful to be able quickly re-create test scenario from your log file when object are logged using ToStringBuilder.

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


[jira] Closed: (LANG-665) Convert ToStringBuilder output to java object

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-665.
------------------------------

    Resolution: Won't Fix

Agreed; closing as Won't Fix.

> Convert ToStringBuilder output to java object
> ---------------------------------------------
>
>                 Key: LANG-665
>                 URL: https://issues.apache.org/jira/browse/LANG-665
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.builder.*
>    Affects Versions: 3.0
>            Reporter: Sean Nguyen
>
> I would be nice to be able to convert output from ToStringBuilder back to java object. It is tremendously helpful to be able quickly re-create test scenario from your log file when object are logged using ToStringBuilder.

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