@Test public void testDefaultFileSuffixes() { MapSettings settings = new MapSettings(); settings.setProperty(HtmlConstants.FILE_EXTENSIONS_PROP_KEY, HtmlConstants.FILE_EXTENSIONS_DEF_VALUE); Html html = new Html(settings.asConfig()); assertThat(html.getFileSuffixes()).containsOnly(".html", ".xhtml", ".cshtml", ".vbhtml", ".aspx", ".ascx", ".rhtml", ".erb", ".shtm", ".shtml"); }
@Override public String[] getFileSuffixes() { return configuration.getStringArray(HtmlConstants.FILE_EXTENSIONS_PROP_KEY); }
Html extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(HtmlConstants.FILE_EXTENSIONS_PROP_KEY); } }
Html extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(HtmlConstants.FILE_EXTENSIONS_PROP_KEY); } Html(Configuration configuration); }
Html extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(HtmlConstants.FILE_EXTENSIONS_PROP_KEY); } Html(Configuration configuration); @Override String[] getFileSuffixes(); }
Html extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(HtmlConstants.FILE_EXTENSIONS_PROP_KEY); } Html(Configuration configuration); @Override String[] getFileSuffixes();  }