public class AsciiOutputFormat extends Object implements OutputFormat
Compatibility format for simulating java.util.Properties output by encoding characters above ASCII 127 with unicode escapes. Use in conjunction with OutputAdapter.writeAsciiTo().
| Modifier and Type | Field and Description |
|---|---|
protected static String |
lineSeparator |
| Constructor and Description |
|---|
AsciiOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(String key,
char separator,
List<String> values,
List<String> comments) |
String |
formatContentType() |
String |
formatFooter() |
String |
formatHeader() |
protected static final String lineSeparator
public String formatContentType()
formatContentType in interface OutputFormatpublic String formatHeader()
formatHeader in interface OutputFormatpublic String format(String key, char separator, List<String> values, List<String> comments)
format in interface OutputFormatpublic String formatFooter()
formatFooter in interface OutputFormatCopyright © 2011-2014 David R. Smith. All Rights Reserved.