Package net.ideahut.springboot.util
Class FrameworkUtil
java.lang.Object
net.ideahut.springboot.util.FrameworkUtil
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Class<T>static <T> Class<T>classOf(String name, boolean initialize, ClassLoader loader) static <T extends org.springframework.web.filter.GenericFilterBean>
org.springframework.boot.web.servlet.FilterRegistrationBean<T>createFilterBean(org.springframework.core.env.Environment environment, T filter, int order, String... urlPatterns) static Stringstatic RuntimeExceptionstatic RuntimeExceptionstatic PropertiesgetHibernateProperties(Map<String, ?> map) static PropertiesgetHibernateProperties(org.springframework.core.env.Environment environment, String prefix) getHibernateSettings(Map<String, ?> map) getHibernateSettings(org.springframework.core.env.Environment environment, String prefix) static <T> TinstanceOf(Class<?> type, Class<?>... constructorTypes) static <T> TinstanceOf(String classname, Class<?>... constructorTypes) static booleanstatic booleanstatic booleanstatic booleanstatic StringreplacePath(String text) static StringreplacePath(String text, boolean normalized) static byte[]resourceBytes(String target)
-
Field Details
-
PACKAGE
- See Also:
-
-
Method Details
-
getHibernateSettings
-
getHibernateSettings
-
getHibernateProperties
public static Properties getHibernateProperties(org.springframework.core.env.Environment environment, String prefix) -
getHibernateProperties
-
createFilterBean
public static <T extends org.springframework.web.filter.GenericFilterBean> org.springframework.boot.web.servlet.FilterRegistrationBean<T> createFilterBean(org.springframework.core.env.Environment environment, T filter, int order, String... urlPatterns) -
classOf
-
classOf
-
exception
-
exception
-
instanceOf
- Throws:
Exception
-
instanceOf
- Throws:
Exception
-
resourceBytes
- Throws:
Exception
-
isDeleted
-
isTrue
-
isPublic
-
isLogin
-
replacePath
-
replacePath
-
digest
-