@Test public void testDefaultFileSuffixes() { MapSettings settings = new MapSettings(); settings.setProperty(HtmlConstants.JSP_FILE_EXTENSIONS_PROP_KEY, HtmlConstants.JSP_FILE_EXTENSIONS_DEF_VALUE); Jsp jsp = new Jsp(settings.asConfig()); assertThat(jsp.getFileSuffixes()).containsOnly(".jsp", ".jspf", ".jspx"); }
@Override public String[] getFileSuffixes() { return configuration.getStringArray(HtmlConstants.JSP_FILE_EXTENSIONS_PROP_KEY); }
Jsp extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(HtmlConstants.JSP_FILE_EXTENSIONS_PROP_KEY); } }
Jsp extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(HtmlConstants.JSP_FILE_EXTENSIONS_PROP_KEY); } Jsp(Configuration configuration); }
Jsp extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(HtmlConstants.JSP_FILE_EXTENSIONS_PROP_KEY); } Jsp(Configuration configuration); @Override String[] getFileSuffixes(); }
Jsp extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(HtmlConstants.JSP_FILE_EXTENSIONS_PROP_KEY); } Jsp(Configuration configuration); @Override String[] getFileSuffixes();  }