asia.redact.bracket.properties
Class ExplicitOutputFormat
java.lang.Object
asia.redact.bracket.properties.ExplicitOutputFormat
- All Implemented Interfaces:
- OutputFormat
public class ExplicitOutputFormat
- 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().
- Author:
- Dave
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lineSeparator
protected static final String lineSeparator
type
protected ContentType type
ExplicitOutputFormat
public ExplicitOutputFormat(ContentType type)
formatContentType
public String formatContentType()
- Specified by:
formatContentType in interface OutputFormat
formatHeader
public String formatHeader()
- Specified by:
formatHeader in interface OutputFormat
format
public String format(String key,
char separator,
List<String> values,
List<String> comments)
- Specified by:
format in interface OutputFormat
formatFooter
public String formatFooter()
- Specified by:
formatFooter in interface OutputFormat
Copyright © 2011-2013 David R. Smith. All Rights Reserved.