asia.redact.bracket.properties.example
Class IndentMultilineFormat
java.lang.Object
asia.redact.bracket.properties.example.IndentMultilineFormat
- All Implemented Interfaces:
- OutputFormat
public class IndentMultilineFormat
- extends Object
- implements OutputFormat
Example of how to customize an output, perhaps for presentation layer use
- Author:
- Dave
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lineSeparator
static final String lineSeparator
tabCount
int tabCount
tabChar
char tabChar
IndentMultilineFormat
public IndentMultilineFormat(int tabCount,
char tabChar)
format
public String format(String key,
char separator,
List<String> values,
List<String> comments)
- Specified by:
format in interface OutputFormat
formatHeader
public String formatHeader()
- Specified by:
formatHeader in interface OutputFormat
formatFooter
public String formatFooter()
- Specified by:
formatFooter in interface OutputFormat
Copyright © 2011-2013 David R. Smith. All Rights Reserved.