commit | 71cb446f010e791ca77a27c416a79b5ccb3f075b | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Jan 30 16:35:04 2013 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Jan 30 16:35:35 2013 -0800 |
tree | e1b266292f58b2546147f3d7822a55bde9ea4207 | |
parent | 3029bf225cfa2c4b5b6e76303b0eba0d91c21026 [diff] |
Add wrapping support to IndentingPrintWriter. When created with a wrapping width, any content longer than the requested width will be wrapped onto additional lines. This supports use-cases like dumping lots of data with printPair(). Improve documentation and add tests to verify behavior. Change-Id: Ibdfce198f0e69f4df7725544fd1cd02fa029c647