You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2012/11/06 19:36:13 UTC
[jira] [Created] (ANY23-130) Improve aesthetics of the output
format when straying from default java.io.PrintStream
Lewis John McGibbney created ANY23-130:
------------------------------------------
Summary: Improve aesthetics of the output format when straying from default java.io.PrintStream
Key: ANY23-130
URL: https://issues.apache.org/jira/browse/ANY23-130
Project: Apache Any23
Issue Type: Improvement
Components: core
Affects Versions: 0.7.1
Reporter: Lewis John McGibbney
Priority: Minor
Fix For: 0.7.1
In my use case, this doesn't really affect extracted content going to std out e.g. PrintStream, but does affect extracted content going to an output file. I *think* we can use jackson-core to ensure that the output stream is formatted in a more human friendly notation.
Peter, I see that you've dealt with the WriterFactory and various other classes during the core resturucting of Any23. I wonder if you can point me to where this can be implemented? I'm skipping from core to api and seem to be going around in circles... Thank in advance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ANY23-130) Improve aesthetics of the output
format when straying from default java.io.PrintStream
Posted by "Peter Ansell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ANY23-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498309#comment-13498309 ]
Peter Ansell commented on ANY23-130:
------------------------------------
I am not quite sure what you are referring to.
JsonWriter still has the following line in its OutputStream constructor [1]:
this.ps = new PrintStream(new BufferedOutputStream(os));
[1] https://svn.apache.org/viewvc/any23/trunk/core/src/main/java/org/apache/any23/writer/JSONWriter.java
> Improve aesthetics of the output format when straying from default java.io.PrintStream
> ----------------------------------------------------------------------------------------
>
> Key: ANY23-130
> URL: https://issues.apache.org/jira/browse/ANY23-130
> Project: Apache Any23
> Issue Type: Improvement
> Components: core
> Affects Versions: 0.7.1
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Minor
> Fix For: 0.7.1
>
>
> In my use case, this doesn't really affect extracted content going to std out e.g. PrintStream, but does affect extracted content going to an output file. I *think* we can use jackson-core to ensure that the output stream is formatted in a more human friendly notation.
> Peter, I see that you've dealt with the WriterFactory and various other classes during the core resturucting of Any23. I wonder if you can point me to where this can be implemented? I'm skipping from core to api and seem to be going around in circles... Thank in advance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (ANY23-130) Improve aesthetics of the output
format when straying from default java.io.PrintStream
Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ANY23-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney reassigned ANY23-130:
------------------------------------------
Assignee: Lewis John McGibbney
> Improve aesthetics of the output format when straying from default java.io.PrintStream
> ----------------------------------------------------------------------------------------
>
> Key: ANY23-130
> URL: https://issues.apache.org/jira/browse/ANY23-130
> Project: Apache Any23
> Issue Type: Improvement
> Components: core
> Affects Versions: 0.7.1
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Minor
> Fix For: 0.7.1
>
>
> In my use case, this doesn't really affect extracted content going to std out e.g. PrintStream, but does affect extracted content going to an output file. I *think* we can use jackson-core to ensure that the output stream is formatted in a more human friendly notation.
> Peter, I see that you've dealt with the WriterFactory and various other classes during the core resturucting of Any23. I wonder if you can point me to where this can be implemented? I'm skipping from core to api and seem to be going around in circles... Thank in advance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ANY23-130) Improve aesthetics of the output
format when straying from default java.io.PrintStream
Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ANY23-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498366#comment-13498366 ]
Lewis John McGibbney commented on ANY23-130:
--------------------------------------------
Hi Peter,
OK so having read my opening comments above let me clarify in a couple of words. I would like the OutputStream to be formatted in prettyprint... I found gson from google which does just that, so I'll try to patch JSONWriter and see where is takes me. Thanks for your comments.
> Improve aesthetics of the output format when straying from default java.io.PrintStream
> ----------------------------------------------------------------------------------------
>
> Key: ANY23-130
> URL: https://issues.apache.org/jira/browse/ANY23-130
> Project: Apache Any23
> Issue Type: Improvement
> Components: core
> Affects Versions: 0.7.1
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Minor
> Fix For: 0.7.1
>
>
> In my use case, this doesn't really affect extracted content going to std out e.g. PrintStream, but does affect extracted content going to an output file. I *think* we can use jackson-core to ensure that the output stream is formatted in a more human friendly notation.
> Peter, I see that you've dealt with the WriterFactory and various other classes during the core resturucting of Any23. I wonder if you can point me to where this can be implemented? I'm skipping from core to api and seem to be going around in circles... Thank in advance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira