select compact output or prettyPrint

Description

Hi,

and i've got a last patch for today: i would like to be able to select the
output format when outputting a feed with SyndFeedOutput or WireFeedOutput
between compact format (no formatting whitespaces and newlines) and pretty-print
(better human readablity), so i patched the two output classes and added
additional output methods, allowing to choose between pretty-print (default) or
not. Because the added methods don't influence existing code at all (default ist
still prettyPrint, but you can call ie output(feed, writer, false) to get a
compact feed), this change shouldn't be any problem for existing code.

Greetings,

Martin

Environment

None

Attachments

1

Activity

Show:

Former user September 15, 2011 at 6:55 PM

Attachment chooseFormat.patch has been added with description: http://java.net/jira/secure/attachment/26753/chooseFormat.patch

Nick Lothian January 5, 2009 at 8:12 PM

Patch committed

Nick Lothian January 5, 2009 at 8:10 PM

Looks to be a useful feature, and appears harmless so I will commit.

Martin Kurz December 13, 2008 at 4:19 PM

Created an attachment (id=27)
add methods to choose between pretty-print and compact format in Ouptuters

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created December 13, 2008 at 4:18 PM
Updated September 15, 2011 at 6:55 PM
Resolved January 5, 2009 at 8:12 PM