public class ConfigHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger
create a static logger.
|
Constructor and Description |
---|
ConfigHelper() |
Modifier and Type | Method and Description |
---|---|
static InputStream |
getComponentConfigResourceAsStream(javax.servlet.ServletContext servletContext,
String type,
String fileName) |
static String[] |
getComponentsClasses(javax.servlet.ServletContext serveltContext) |
static String[] |
getDefaultComponentsClasses(javax.servlet.ServletContext serveltContext) |
static List<File> |
getDynamicComponentsHtml(javax.servlet.ServletContext serveltContext) |
static List<Properties> |
getDynamicComponentsProperties(javax.servlet.ServletContext serveltContext) |
protected static Logger logger
public static final InputStream getComponentConfigResourceAsStream(javax.servlet.ServletContext servletContext, String type, String fileName) throws ResourceNotFoundException
ResourceNotFoundException
public static final String[] getComponentsClasses(javax.servlet.ServletContext serveltContext) throws IOException
IOException
public static final String[] getDefaultComponentsClasses(javax.servlet.ServletContext serveltContext) throws IOException
IOException
public static final List<Properties> getDynamicComponentsProperties(javax.servlet.ServletContext serveltContext) throws IOException
IOException
public static final List<File> getDynamicComponentsHtml(javax.servlet.ServletContext serveltContext) throws IOException
IOException
Copyright © 2012-2018. All Rights Reserved.