asia.redact.bracket.properties
Class BasicOutputFormat

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

public class BasicOutputFormat
extends Object
implements OutputFormat

Default formatting for properties output. You can implement your own if you don't like this one or it doesn't do what you require

Author:
Dave

Field Summary
(package private) static String lineSeparator
           
 
Constructor Summary
BasicOutputFormat()
           
 
Method Summary
 String format(String key, ValueModel model)
          Format the comments, key, separator, value(s), and line separator
 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

static final String lineSeparator
Constructor Detail

BasicOutputFormat

public BasicOutputFormat()
Method Detail

format

public String format(String key,
                     ValueModel model)
Format the comments, key, separator, value(s), and line separator

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.