| Constructor and Description |
|---|
ValueOutputFormat()
Default constructor with indentiation = 2, showDescription and showQuotationMarks are both true
|
ValueOutputFormat(int indentSize,
boolean showDescription,
boolean showQuotationMarks) |
| Modifier and Type | Method and Description |
|---|---|
void |
printExpression(CommandOutput output,
Object name,
Object value,
String description)
Print out equal expression of an variable with description
|
void |
printValue(CommandOutput output,
Object value) |
public ValueOutputFormat()
public ValueOutputFormat(int indentSize,
boolean showDescription,
boolean showQuotationMarks)
indentSize - Size of indentationshowDescription - True if value description is printedshowQuotationMarks - True if quotation mark is printedpublic void printExpression(CommandOutput output, Object name, Object value, String description)
output - Output to print toname - Name of variablevalue - Value of variabledescription - Description of variablepublic void printValue(CommandOutput output, Object value)
output - Output writer where value is printed tovalue - Value to printCopyright © 2008–2019. All rights reserved.