public class PropFileLoaderSamplePrinter extends BaseSamplePrinter implements SamplePrinter
| Modifier and Type | Field and Description |
|---|---|
protected PrintFormat |
format |
DEFAULT_VALUE_TEXT, REQUIRED_HEADER_TEXT, REQUIRED_KEYWORD, THE_VALUE_MUST_TEXT| Constructor and Description |
|---|
PropFileLoaderSamplePrinter() |
| Modifier and Type | Method and Description |
|---|---|
TextBlock |
getActualProperty(PropertyConfigurationInternal definition,
GroupProxy group,
Property prop) |
PrintFormat |
getFormat() |
String |
getInAliaseString(PropertyConfigurationInternal definition,
EffectiveName name) |
TextBlock |
getSampleFileEnd() |
String |
getSampleFileExtension()
The file extention to use for sample files, eg 'properties' or 'xml'.
|
TextBlock |
getSampleFileStart() |
TextBlock |
getSampleStartComment(PropertyConfigurationInternal definition)
Must provide its own line comment prefix if the format has no block comment.
|
print, printProperty, printPropertyGroupEnd, printPropertyGroupStart, printSampleEnd, printSampleStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprintProperty, printPropertyGroupEnd, printPropertyGroupStart, printSampleEnd, printSampleStartprotected PrintFormat format
public PrintFormat getFormat()
public TextBlock getSampleFileStart()
getSampleFileStart in class BaseSamplePrinterpublic TextBlock getSampleStartComment(PropertyConfigurationInternal definition)
BaseSamplePrintergetSampleStartComment in class BaseSamplePrinterpublic String getInAliaseString(PropertyConfigurationInternal definition, EffectiveName name)
getInAliaseString in class BaseSamplePrinterpublic TextBlock getActualProperty(PropertyConfigurationInternal definition, GroupProxy group, Property prop) throws Exception
getActualProperty in class BaseSamplePrinterExceptionpublic TextBlock getSampleFileEnd()
getSampleFileEnd in class BaseSamplePrinterpublic String getSampleFileExtension()
SamplePrintergetSampleFileExtension in interface SamplePrinterCopyright © 2022. All rights reserved.