asia.redact.bracket.properties
Class AsciiOutputFormat

java.lang.Object
  extended by asia.redact.bracket.properties.AsciiOutputFormat
All Implemented Interfaces:
OutputFormat

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(). 
 

Author:
Dave

Field Summary
protected static String lineSeparator
           
 
Constructor Summary
AsciiOutputFormat()
           
 
Method Summary
 String format(String key, char separator, List<String> values, List<String> comments)
           
 String formatFooter()
           
 String formatHeader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lineSeparator

protected static final String lineSeparator
Constructor Detail

AsciiOutputFormat

public AsciiOutputFormat()
Method Detail

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.