@Test public void testGetSampleStartComment() { }
@Override public TextBlock getSampleStartComment(StaticPropertyConfigurationInternal definition) { TextBlock tb = new TextBlock(true, true); tb.addHR(); tb.addLine("Sample properties file generated by " + AndHow.ANDHOW_NAME); tb.addLine(AndHow.ANDHOW_TAG_LINE + " - " + AndHow.ANDHOW_URL); tb.addLine("Note: "+ definition.getNamingStrategy().getNameMatchingDescription()); tb.addHR(); return tb; }
PropFileLoaderSamplePrinter extends BaseSamplePrinter implements SamplePrinter { @Override public TextBlock getSampleStartComment(StaticPropertyConfigurationInternal definition) { TextBlock tb = new TextBlock(true, true); tb.addHR(); tb.addLine("Sample properties file generated by " + AndHow.ANDHOW_NAME); tb.addLine(AndHow.ANDHOW_TAG_LINE + " - " + AndHow.ANDHOW_URL); tb.addLine("Note: "+ definition.getNamingStrategy().getNameMatchingDescription()); tb.addHR(); return tb; } }
PropFileLoaderSamplePrinter extends BaseSamplePrinter implements SamplePrinter { @Override public TextBlock getSampleStartComment(StaticPropertyConfigurationInternal definition) { TextBlock tb = new TextBlock(true, true); tb.addHR(); tb.addLine("Sample properties file generated by " + AndHow.ANDHOW_NAME); tb.addLine(AndHow.ANDHOW_TAG_LINE + " - " + AndHow.ANDHOW_URL); tb.addLine("Note: "+ definition.getNamingStrategy().getNameMatchingDescription()); tb.addHR(); return tb; } PropFileLoaderSamplePrinter(); }
PropFileLoaderSamplePrinter extends BaseSamplePrinter implements SamplePrinter { @Override public TextBlock getSampleStartComment(StaticPropertyConfigurationInternal definition) { TextBlock tb = new TextBlock(true, true); tb.addHR(); tb.addLine("Sample properties file generated by " + AndHow.ANDHOW_NAME); tb.addLine(AndHow.ANDHOW_TAG_LINE + " - " + AndHow.ANDHOW_URL); tb.addLine("Note: "+ definition.getNamingStrategy().getNameMatchingDescription()); tb.addHR(); return tb; } PropFileLoaderSamplePrinter(); @Override PrintFormat getFormat(); @Override TextBlock getSampleFileStart(); @Override TextBlock getSampleStartComment(StaticPropertyConfigurationInternal definition); @Override String getInAliaseString(StaticPropertyConfigurationInternal definition, EffectiveName name); @Override TextBlock getActualProperty(StaticPropertyConfigurationInternal definition, 
			GroupProxy group, Property prop); @Override TextBlock getSampleFileEnd(); @Override String getSampleFileExtension(); }
PropFileLoaderSamplePrinter extends BaseSamplePrinter implements SamplePrinter { @Override public TextBlock getSampleStartComment(StaticPropertyConfigurationInternal definition) { TextBlock tb = new TextBlock(true, true); tb.addHR(); tb.addLine("Sample properties file generated by " + AndHow.ANDHOW_NAME); tb.addLine(AndHow.ANDHOW_TAG_LINE + " - " + AndHow.ANDHOW_URL); tb.addLine("Note: "+ definition.getNamingStrategy().getNameMatchingDescription()); tb.addHR(); return tb; } PropFileLoaderSamplePrinter(); @Override PrintFormat getFormat(); @Override TextBlock getSampleFileStart(); @Override TextBlock getSampleStartComment(StaticPropertyConfigurationInternal definition); @Override String getInAliaseString(StaticPropertyConfigurationInternal definition, EffectiveName name); @Override TextBlock getActualProperty(StaticPropertyConfigurationInternal definition, 
			GroupProxy group, Property prop); @Override TextBlock getSampleFileEnd(); @Override String getSampleFileExtension();  }