Package org.javlo.helper
Class ConfigHelper
- java.lang.Object
-
- org.javlo.helper.ConfigHelper
-
public class ConfigHelper extends Object
l- Author:
- pvandermaesen
-
-
Constructor Summary
Constructors Constructor Description ConfigHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
logger
protected static Logger logger
create a static logger.
-
-
Method Detail
-
getComponentConfigResourceAsStream
public static final InputStream getComponentConfigResourceAsStream(javax.servlet.ServletContext servletContext, String type, String fileName) throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
-
getComponentsClasses
public static final String[] getComponentsClasses(javax.servlet.ServletContext serveltContext) throws IOException
- Throws:
IOException
-
getDefaultComponentsClasses
public static final String[] getDefaultComponentsClasses(javax.servlet.ServletContext serveltContext) throws IOException
- Throws:
IOException
-
getDynamicComponentsProperties
public static final List<Properties> getDynamicComponentsProperties(javax.servlet.ServletContext serveltContext) throws IOException
- Throws:
IOException
-
getDynamicComponentsHtml
public static final List<File> getDynamicComponentsHtml(javax.servlet.ServletContext serveltContext) throws IOException
- Throws:
IOException
-
-